change in setting is not visible immediately
#1
Question 
when I do:
g_guiSettings.SetInt("audiooutput.mode",AUDIO_ANALOG);

the setting is changed but is not visible immediately why?
I need to refresh the skin by pressing F5 which calls skin function ReloadSkin()

so in source code I have to do
g_application.ReloadSkin();

but I want to refresh the current window or that particular setting control only.

how can I do that?
Reply
#2
please reply someone Sad
Reply
#3
I suggest looking at current master code. I have re-written the whole settings functionality. In the old code there was no way to change a setting outside of CGUIWindowSettingCategory and having it also take effect in the GUI itself.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
change in setting is not visible immediately0