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)