Skip to content

Commit

Permalink
[EPG] Jump to 'now' on init of EPG timeline view
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Jul 28, 2015
1 parent d648cd6 commit 239f684
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/pvr/windows/GUIWindowPVRGuide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ void CGUIWindowPVRGuide::OnInitWindow()
if (m_guiState.get())
m_viewControl.SetCurrentView(m_guiState->GetViewAsControl(), false);

CGUIEPGGridContainer *epgGridContainer =
dynamic_cast<CGUIEPGGridContainer*>(GetControl(m_viewControl.GetCurrentControl()));
if (epgGridContainer)
epgGridContainer->GoToNow();

CGUIWindowPVRBase::OnInitWindow();
}

Expand Down

0 comments on commit 239f684

Please sign in to comment.