mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user