diff --git a/resources/lib/gui.py b/resources/lib/gui.py index e455994..5603419 100644 --- a/resources/lib/gui.py +++ b/resources/lib/gui.py @@ -258,6 +258,7 @@ class TorrentInfoGUI(xbmcgui.WindowXMLDialog): self.close() pass def onClick(self, controlID): - pass + if controlID == 111: + self.close() def onFocus(self, controlID): pass diff --git a/resources/skins/Default/720p/script-Transmission-details.xml b/resources/skins/Default/720p/script-Transmission-details.xml index 693ff7a..8b0772d 100644 --- a/resources/skins/Default/720p/script-Transmission-details.xml +++ b/resources/skins/Default/720p/script-Transmission-details.xml @@ -140,5 +140,18 @@ + + Close Window button + 850 + 0 + 64 + 32 + + - + PreviousMenu + DialogCloseButton-focus.png + DialogCloseButton.png + system.getbool(input.enablemouse) +