Permalink
Browse files

[extendedprogressbar] reset m_iCurrentItem on window init

  • Loading branch information...
Jonathan Marshall
Jonathan Marshall committed Nov 16, 2012
1 parent 245fbd0 commit 465f2ebee7ab56cf538315336fbd92a39fd6c09e
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/dialogs/GUIDialogExtendedProgressBar.cpp
@@ -88,6 +88,7 @@ bool CGUIDialogExtendedProgressBar::OnMessage(CGUIMessage& message)
case GUI_MSG_WINDOW_INIT:
{
m_iLastSwitchTime = XbmcThreads::SystemClockMillis();
+ m_iCurrentItem = 0;
CGUIDialog::OnMessage(message);
UpdateState(0);

0 comments on commit 465f2eb

Please sign in to comment.