From 5c272cb81d1fbd46863dc72bdaef17f3151de32d Mon Sep 17 00:00:00 2001 From: Jaka Kranjc Date: Sun, 24 Oct 2010 23:06:31 +0200 Subject: [PATCH] the bg1 and bg2 "done" container window buttons are also labelless --- gemrb/GUIScripts/CommonWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemrb/GUIScripts/CommonWindow.py b/gemrb/GUIScripts/CommonWindow.py index b5ebb225e..4c432e0ea 100644 --- a/gemrb/GUIScripts/CommonWindow.py +++ b/gemrb/GUIScripts/CommonWindow.py @@ -243,7 +243,7 @@ def OpenContainerWindow (): # Done Button = Window.GetControl (51) - if not GUICommon.GameIsIWD1() and not GUICommon.GameIsIWD2(): + if not GUICommon.GameIsPST(): Button.SetText (11973) Button.SetFlags (IE_GUI_BUTTON_CANCEL, OP_OR) Button.SetEvent (IE_GUI_BUTTON_ON_PRESS, LeaveContainer) -- 2.11.4.GIT