radiotext_window: show radiotext window only in radio mode

Origin commit data
------------------
Commit: d0dd485a9a
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-02-06 (Thu, 06 Feb 2020)
This commit is contained in:
2020-02-06 00:16:05 +01:00
committed by vanhofen
parent 5fde3bfcae
commit 844f75b9ae

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