2012-10-22, 20:01
2012-10-22, 20:20
2012-10-22, 20:36
What I meant was I know I can hide password texts
But I want a bool enabled/not enabled
To not show at all in settings so people can't see it
But I want a bool enabled/not enabled
To not show at all in settings so people can't see it
2012-10-22, 20:52
https://github.com/amet/script.xbmc.subt...gs.xml#L23
and look at the line below
visible= "eq(-1,true)" enable="eq(-1,true)"
where -1 is line above
EDIT: or to just hide it, "visible= false" should be enough if you dont need to depend on any other setting
and look at the line below
visible= "eq(-1,true)" enable="eq(-1,true)"
where -1 is line above
EDIT: or to just hide it, "visible= false" should be enough if you dont need to depend on any other setting
2012-10-23, 13:35
This is what I use:
The isMasterUser boolean is hidden from the user. Depending on whether or not this value is true or false, either setting with label 30001 or setting with 30002 is shown to the user.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<settings>
<category id="general" label="30000">
<setting id="isMasterUser" type="bool" visible="false" default="false" />
<setting id="defaultProfile" type="text" label="30001" visible="eq(-1,true)" />
<setting type="lsep" label="30002" visible="eq(-2,false)" />
</category>
</settings>
The isMasterUser boolean is hidden from the user. Depending on whether or not this value is true or false, either setting with label 30001 or setting with 30002 is shown to the user.
2012-10-23, 14:43
visible="false"
is the way to go for me thanks guys
is the way to go for me thanks guys