diff --git a/Core/Init.lua b/Core/Init.lua index 8944e2e..aa68ab4 100644 --- a/Core/Init.lua +++ b/Core/Init.lua @@ -236,4 +236,10 @@ function addon:Error(msg, a1, a2, a3, a4, a5, a6, a7) DEFAULT_CHAT_FRAME:AddMessage("|cFFFF0000[Error]|r |cFF00FF96Guda:|r " .. text) end +-- Add frames to UISpecialFrames so they can be closed with the Escape key +if not UISpecialFrames then UISpecialFrames = {} end +table.insert(UISpecialFrames, "Guda_BagFrame") +table.insert(UISpecialFrames, "Guda_BankFrame") +table.insert(UISpecialFrames, "Guda_SettingsPopup") + addon:Print("Loaded v%s", addon.VERSION) diff --git a/Guda.toc b/Guda.toc index 41e0b70..b205650 100644 --- a/Guda.toc +++ b/Guda.toc @@ -2,7 +2,7 @@ ## Title: Guda ## Notes: All-in-one bag and bank addon for Turtle WoW ## Author: Vati -## Version: 1.4.3 +## Version: 1.4.4 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB