- switching to new C_AddOns API changes
- cascaded message hooking for Retail v12 engine - messages during encounters are sent unchanged, with a one-time notice - ignore numbered chats that do not exist - /r no longer sends to an empty whisper target if the last told target is unavailable - fixed replacements in instance chats - messages to unknown numbered channels are now discarded - right-click on the minimap button
This commit is contained in:
@@ -415,9 +415,7 @@ function Grichelde:SetupOptions()
|
||||
-- Adding options to blizzard frame
|
||||
LibStub("AceConfig-3.0"):RegisterOptionsTable(self.name, options)
|
||||
local dialog = LibStub("AceConfigDialog-3.0")
|
||||
local _, categoryID = dialog:AddToBlizOptions(self.name, self.L.AddonName)
|
||||
|
||||
self.optionsCategoryID = categoryID
|
||||
dialog:AddToBlizOptions(self.name, self.L.AddonName)
|
||||
return options, dialog
|
||||
end
|
||||
|
||||
@@ -466,8 +464,9 @@ function Grichelde:RefreshProfiles(event, _, profileName)
|
||||
end
|
||||
|
||||
function Grichelde:ToggleOptions()
|
||||
self:DebugPrint("ToggleOptions : options open: ", not not self.dialog.OpenFrames[self.name])
|
||||
if (self.dialog ~= nil) and (self.dialog.OpenFrames[self.name] ~= nil) then
|
||||
local isOpen = (self.dialog ~= nil) and (self.dialog.OpenFrames[self.name] ~= nil)
|
||||
self:DebugPrint("ToggleOptions : options open: ", isOpen)
|
||||
if (isOpen) then
|
||||
self:CloseOptions()
|
||||
else
|
||||
self:OpenOptions()
|
||||
|
||||
Reference in New Issue
Block a user