Kodi Community Forum
[BUG and SOLUTION] Shutdown Menu disappears - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Rapier (https://forum.kodi.tv/forumdisplay.php?fid=120)
+---- Thread: [BUG and SOLUTION] Shutdown Menu disappears (/showthread.php?tid=59385)



[BUG and SOLUTION] Shutdown Menu disappears - stoli - 2009-10-08

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...


- xbs08 - 2009-10-08

tks Smile


- scarfa - 2009-10-08

Nice, didn't spot that.