mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
COsdSetup: reset channellist objects after changed window size
Ensures complete reinit of relevent modules inside channellist instance.
This commit is contained in:
@@ -314,6 +314,7 @@ int COsdSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
memset(window_size_value, 0, sizeof(window_size_value));
|
||||
snprintf(window_size_value, sizeof(window_size_value), "%d / %d", g_settings.window_width, g_settings.window_height);
|
||||
mfWindowSize->setOption(window_size_value);
|
||||
CNeutrinoApp::getInstance()->channelList->ResetModules();
|
||||
break;
|
||||
} else if ((msg == CRCInput::RC_home) || (msg == CRCInput::RC_timeout)) {
|
||||
g_settings.window_width = old_window_width;
|
||||
|
Reference in New Issue
Block a user