Hello
Im my SettingsWindow i use a lot of Fakelists, now i have also buttons in these Fakelists which should show the actual Setting from another Settingswindow (i.e. SettingsCathegory.xml)
to achive this, i did try to read the coresponding setting via "System.GetBool(bool)" but got some Problems with it.
"System.GetBool(bool)" is listed as "Infolabel" but doesnt/(seems not to) return a Value/String, even if i use something well knewn as "Pvr.HasTVChannels".
What i did try is, use the bool directly in the "<selected>" Tag in a Radiobutton Control, and as a second attempt as visible condition in two different ways. Non of them worked.
Hers the Code: (Bool as visible condition)
<control type="radiobutton">
<label>$LOCALIZE[36615]</label>
<selected>true</selected>
<textcolor>DialogTextColor2</textcolor>
<visible>String.IsEqual(System.GetBool(unknownsources),true)</visible>
</control>
<control type="radiobutton">
<label>$LOCALIZE[36615]</label>
<selected>false</selected>
<textcolor>DialogTextColor2</textcolor>
<visible>!String.IsEqual(System.GetBool(unknownsources),true)</visible>
</control>
<control type="radiobutton">
<label>$LOCALIZE[36615]</label>
<selected>true</selected>
<textcolor>DialogTextColor2</textcolor>
<visible>System.GetBool(unknownsources)</visible>
</control>
...
My favoret question: "Shuldnt this work"? Or in other Words: Where do i do the Mistake here?
And where do i finde the Bool for "show notifications" (Settings -> System - > Addons)?
(Didnt finde it in the GUISettings.)
Regards