[BUG and SOLUTION] Shutdown Menu disappears

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
stoli Offline
Skilled Skinner
Posts: 2,409
Joined: Nov 2008
Reputation: 31
Location: Florida
Post: #1
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...
find quote
xbs08 Offline
Posting Freak
Posts: 1,725
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #2
tks Smile

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
find quote
scarfa Offline
Skilled Skinner
Posts: 413
Joined: Jul 2008
Reputation: 25
Post: #3
Nice, didn't spot that.
find quote