from retail

fix #36
This commit is contained in:
Bunny67
2020-07-18 00:02:27 +03:00
parent bd5ad2b6c1
commit 741c70cbb5
4 changed files with 19 additions and 12 deletions
@@ -767,6 +767,9 @@ function WeakAuras.CreateFrame()
end
frame.UpdateOptions = function(self)
if not self.pickedDisplay then
return
end
self.selectedTab = self.selectedTab or "region"
local data
if type(self.pickedDisplay) == "string" then
@@ -820,6 +823,10 @@ function WeakAuras.CreateFrame()
-- Any changes to the options that go around that, e.g. drag/drop, group,
-- texture pick, etc should call this
frame.FillOptions = function(self)
if not self.pickedDisplay then
return
end
frame:UpdateOptions()
local data