mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
moviebrowser: reset selected item in MB_FOCUS_LAST_PLAY after deleting any movie
Origin commit data
------------------
Branch: ni/coolstream
Commit: 54f162a41a
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-30 (Sat, 30 Mar 2019)
Origin message was:
------------------
- moviebrowser: reset selected item in MB_FOCUS_LAST_PLAY after deleting any movie
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1026,6 +1026,8 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
m_doRefresh = true;
|
m_doRefresh = true;
|
||||||
returnval = menu_return::RETURN_EXIT;
|
returnval = menu_return::RETURN_EXIT;
|
||||||
}
|
}
|
||||||
|
if (m_windowFocus == MB_FOCUS_LAST_PLAY)
|
||||||
|
m_pcLastPlay->setSelectedLine(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return returnval;
|
return returnval;
|
||||||
@@ -2208,6 +2210,8 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
|
|||||||
if (m_movieSelectionHandler != NULL)
|
if (m_movieSelectionHandler != NULL)
|
||||||
{
|
{
|
||||||
onDelete();
|
onDelete();
|
||||||
|
if (m_windowFocus == MB_FOCUS_LAST_PLAY)
|
||||||
|
m_pcLastPlay->setSelectedLine(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (msg == CRCInput::RC_help)
|
else if (msg == CRCInput::RC_help)
|
||||||
|
Reference in New Issue
Block a user