2015-10-05, 08:54
@Mr. V - I'm honestly not sure if it's possible (least of all in a good way - this will reset custom property every time the user opens the select a widget dialog, whether or not they actually select a widget), but you can set a custom property to a specific value - in this case, leave the `customValue` property empty and it should (can't say I've tested this ) clear the value.
If that doesn't work, I'll add it to the feature requests.
Code:
<control type="button" id="312">
<description>Change widget</description>
<width>1316</width>
<height>90</height>
<textoffsetx>30</textoffsetx>
<font>font15</font>
<label>$ADDON[script.skinshortcuts 32044]</label>
<label2>$INFO[Container(211).ListItem.Property(widgetName)]</label2>
<visible>StringCompare(Window.Property(groupname),mainmenu)</visible>
<onclick>SetProperty(customProperty,widgetArt)</onclick>
<!-- Following line may or may not be needed, please test! -->
<onclick>SetProperty(customValue,)</onclick>
<onclick>SendClick(404)</onclick>
</control>
If that doesn't work, I'll add it to the feature requests.