mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
src/gui/moviebrowser.cpp fix segfault if m_movieSelectionHandler is NULL
This commit is contained in:
@@ -1918,9 +1918,11 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
|
||||
|
||||
void CMovieBrowser::markItem(CListFrame *list)
|
||||
{
|
||||
m_movieSelectionHandler->marked = !m_movieSelectionHandler->marked;
|
||||
list->setSelectedMarked(m_movieSelectionHandler->marked);
|
||||
list->scrollLineDown(1);
|
||||
if(m_movieSelectionHandler != NULL){
|
||||
m_movieSelectionHandler->marked = !m_movieSelectionHandler->marked;
|
||||
list->setSelectedMarked(m_movieSelectionHandler->marked);
|
||||
list->scrollLineDown(1);
|
||||
}
|
||||
}
|
||||
|
||||
void CMovieBrowser::scrollBrowserItem(bool next, bool page)
|
||||
|
Reference in New Issue
Block a user