mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
user_menue: fix possible segfault, after remove channelist
This commit is contained in:
@@ -196,7 +196,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
|
||||
bool _mode_ts = CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts;
|
||||
bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) &&
|
||||
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
(CZapit::getInstance()->GetCurrentChannel() && !CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
|
||||
|
||||
bool timeshift = CMoviePlayerGui::getInstance().timeshift;
|
||||
bool adzap_active = CAdZapMenu::getInstance()->isActive();
|
||||
|
Reference in New Issue
Block a user