fix gui close button when no gitter was shown

This commit is contained in:
shagu
2016-08-04 18:09:56 +02:00
parent 4774e2ef42
commit 199ece3bb3
+1 -1
View File
@@ -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)