Quantcast

Fix a bug where options panel was not initialized properly

James Whitehead II [10-12-10 - 10:58]
Fix a bug where options panel was not initialized properly
Filename
OptionsPanel.lua
diff --git a/OptionsPanel.lua b/OptionsPanel.lua
index f63a34d..31e4f26 100644
--- a/OptionsPanel.lua
+++ b/OptionsPanel.lua
@@ -7,6 +7,7 @@ panel.name = addonName
 panel:SetScript("OnShow", function(self)
     if not panel.initialized then
         panel:CreateOptions()
+        panel.refresh()
     end
 end)