Kodi Community Forum

Full Version: [BUG and SOLUTION] Shutdown Menu disappears
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After using Reload Skin on the Shutdown Menu, the menu will not appear again until after a restart of xmbc (even a skin reload will not fix it. The problem appears to be dialogs not being closed prior to loading new windows:

Example Original code from DialogButtonMenu.xml:

Code:
<control type="button" id="106">
    <description>Reload Skin</description>
    <include>ContextMenuBtn</include>
    <label>$LOCALIZE[20183]</label>
    <onclick>ReloadSkin()</onclick>
</control>

When changed to below it works:

Code:
<control type="button" id="106">
    <description>Reload Skin</description>
    <include>ContextMenuBtn</include>
    <label>$LOCALIZE[20183]</label>
    [b][i]<onclick>Dialog.Close(all,true)</onclick>[/i][/b]
    <onclick>ReloadSkin()</onclick>
</control>

It looks like this was the only items that causes an issue...
tks Smile
Nice, didn't spot that.