mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
src/gui/moviebrowser.cpp fix segfault if m_movieSelectionHandler is NULL
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07f25639d9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-06-28 (Sun, 28 Jun 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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