diff options
author | ronie <ronie@poedel.net> | 2013-01-03 14:15:12 +0100 |
---|---|---|
committer | ronie <ronie@poedel.net> | 2013-01-03 14:15:12 +0100 |
commit | 0b47b966c51c2492153845b85478999c6829a494 (patch) | |
tree | 9a00a38bee98e04075b13ac8e81af1ed95e68f14 /addons/skin.confluence | |
parent | 3a3e082af4b6b7db673a9285ee9f89b1c5ba5814 (diff) |
[Confluence] Don't process subsequent onclicks if the first one was cancelled. Fixes #13576
Diffstat (limited to 'addons/skin.confluence')
-rw-r--r-- | addons/skin.confluence/720p/VideoOSD.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/skin.confluence/720p/VideoOSD.xml b/addons/skin.confluence/720p/VideoOSD.xml index b114a5e5dc..ccbceb41b5 100644 --- a/addons/skin.confluence/720p/VideoOSD.xml +++ b/addons/skin.confluence/720p/VideoOSD.xml @@ -313,8 +313,8 @@ <onclick>Close</onclick> <onclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</onclick> <altclick>Skin.SetAddon(SubtitleScript_Path,xbmc.python.subtitles)</altclick> - <altclick>Close</altclick> - <altclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</altclick> + <altclick condition="Window.IsVisible(VideoOSD)">Dialog.Close(VideoOSD)</altclick> + <altclick condition="!IsEmpty(Skin.String(SubtitleScript_Path))">XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</altclick> <usealttexture>IsEmpty(Skin.String(SubtitleScript_Path))</usealttexture> </control> <control type="button" id="251"> |