2010-08-05, 00:29
In the process of porting my homebrew Aeon to Dharma (currently running on a Mac Mini 10.6.4 using r32393) but I can't seem to get the DialogAddonSettings window to go away when pressing 'x' to exit the MusicVisualisation? (I know the proper behaviour is to OK/Cancel the dialog first, but its still possible).
So whilst in MusicVisualisation I bring up the OSD then the DialogAddonSettings window to display the vis settings, like so:
Now when I press 'x' to return to the playlist (rather than OK-ing or Cancel-ing the dialog), it doesn't disappear, and I get this (which I can only make go away by OK-ing or Cancel-ing):
Note that I've followed the instructions to replace the "old" window activation in MusicOSD.xml
What am I doing wrong? I've added the proper <WindowClose> event animations as far as I can tell. Is there any way around this, such as a Addon.Default.CloseSettings? I just can't figure it out!
So whilst in MusicVisualisation I bring up the OSD then the DialogAddonSettings window to display the vis settings, like so:
Now when I press 'x' to return to the playlist (rather than OK-ing or Cancel-ing the dialog), it doesn't disappear, and I get this (which I can only make go away by OK-ing or Cancel-ing):
Note that I've followed the instructions to replace the "old" window activation in MusicOSD.xml
Code:
<onclick>XBMC.ActivateWindow(121)</onclick>
with
<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
What am I doing wrong? I've added the proper <WindowClose> event animations as far as I can tell. Is there any way around this, such as a Addon.Default.CloseSettings? I just can't figure it out!