2016-02-22, 18:58
(2016-02-22, 16:33)marcelveldt Wrote:(2016-02-20, 17:32)tomer953 Wrote: Hey Marcel!
I'm trying to add a "none" button to my color picker dialog (based as the script of course), actually I can't make it work, it doesn't clear the property\string (I'm trying\need both).
I copy\paste from your xml file, and yet - not working.
Can you test with latest Git ?
I tested..
1. clearing the properties from the skinshortcuts dialog is not working. http://pastebin.com/K4yHm0RD
i'm clicking on the "none" button, the picker closed, and the property is stay. (I check with labels for easy debugging)
2. in strings case, the none button seems to work, but is setting "None" to the string, and in my skin I check for IsEmpty, and not comparing to None.
Code:
<setting id="list_bg_color" type="string">None</setting>
10Q