From 199ece3bb3ec90012446a9b5f2297695e8f0f7da Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 4 Aug 2016 18:09:56 +0200 Subject: [PATCH] fix gui close button when no gitter was shown --- modules/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui.lua b/modules/gui.lua index 9ea86b7e..4ff19b74 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -408,7 +408,7 @@ pfUI:RegisterModule("gui", function () if pfUI.gui.settingChanged then pfUI.gui.reloadDialog:Show() end - if pfUI.gitter:IsShown() then pfUI.gui:UnlockFrames() end + if pfUI.gitter and pfUI.gitter:IsShown() then pfUI.gui:UnlockFrames() end pfUI.gui:Hide() end)