fix: Guard against QuestieConfigFrame being nil in OpenConfigWindow
This commit is contained in:
@@ -83,6 +83,9 @@ end
|
|||||||
|
|
||||||
-- Open the configuration window
|
-- Open the configuration window
|
||||||
function QuestieOptions:OpenConfigWindow()
|
function QuestieOptions:OpenConfigWindow()
|
||||||
|
if not QuestieConfigFrame then
|
||||||
|
return
|
||||||
|
end
|
||||||
if not QuestieConfigFrame:IsShown() then
|
if not QuestieConfigFrame:IsShown() then
|
||||||
PlaySound(882)
|
PlaySound(882)
|
||||||
-- AceConfigDialog:Open("Questie", QuestieConfigFrame)
|
-- AceConfigDialog:Open("Questie", QuestieConfigFrame)
|
||||||
|
|||||||
Reference in New Issue
Block a user