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:
Jacek Jendrzej
2015-06-28 11:33:06 +02:00
parent 3d261f9210
commit 755209ea54

View File

@@ -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)