2014-07-15, 11:56
It's me again
Inside my management dialog, I have toggle buttons to enable hubs for specific single items (movies/tvshows/music/watchlist). These buttons are only visible if one of the menu items is focused in container 211:
But if a user is going to change the label of one of that items, the labelID will be also changed. Is there any reason for this? I thought the labelID is used to identify the shortcut and it's fixed.
If this is behaviour is required and cannot be changed, how could I identify a specific shortcut even a user has set a custom label?
Inside my management dialog, I have toggle buttons to enable hubs for specific single items (movies/tvshows/music/watchlist). These buttons are only visible if one of the menu items is focused in container 211:
PHP Code:
<control type="radiobutton" id="351">
<width>550</width>
<label>$LOCALIZE[31819]</label>
<onclick>Skin.ToggleSetting(hub.episodes.enabled)</onclick>
<selected>Skin.HasSetting(hub.episodes.enabled)</selected>
<include>dialog_Radio-alt</include>
<visible>StringCompare(Container(211).ListItem.Property(labelID),tvshows)</visible>
</control>
But if a user is going to change the label of one of that items, the labelID will be also changed. Is there any reason for this? I thought the labelID is used to identify the shortcut and it's fixed.
If this is behaviour is required and cannot be changed, how could I identify a specific shortcut even a user has set a custom label?