- pluginlist: add default timeout to plugin-output ...

to avoid a blocked system. Without timeout all upcoming timers
will be ignored, if user doesn't confirm the plugin-output.
This commit is contained in:
svenhoefer
2017-02-11 11:15:09 +01:00
parent 582051b9a1
commit 274b117f34

View File

@@ -77,7 +77,7 @@ int CPluginList::run()
g_PluginList->startPlugin(number);
if (!g_PluginList->getScriptOutput().empty()) {
hide();
ShowMsg(LOCALE_PLUGINS_RESULT, g_PluginList->getScriptOutput(), CMsgBox::mbrBack, CMsgBox::mbBack, NEUTRINO_ICON_SHELL);
ShowMsg(LOCALE_PLUGINS_RESULT, g_PluginList->getScriptOutput(), CMsgBox::mbrBack, CMsgBox::mbBack, NEUTRINO_ICON_SHELL, 320, g_settings.timing[SNeutrinoSettings::TIMING_STATIC_MESSAGES]);
}
return menu_return::RETURN_REPAINT;
}