radiotext_window: show radiotext window only in radio mode

This commit is contained in:
2020-02-05 22:03:12 +01:00
parent 44debf7a73
commit d5c0e2ec97

View File

@@ -327,7 +327,7 @@ void CRadioTextGUI::paint(const bool &do_save_bg)
hide();
clearSavedScreen();
if (!g_Radiotext)
if (!g_Radiotext || CNeutrinoApp::getInstance()->getMode() != NeutrinoModes::mode_radio)
return;
if (!g_Radiotext->haveRadiotext())