TOC bump + /xb added with temprorary fix to open options
Mikeprod [10-29-16 - 09:44]
TOC bump + /xb added with temprorary fix to open options
diff --git a/XIV_Databar.toc b/XIV_Databar.toc
index 296df27..a3c5c2c 100644
--- a/XIV_Databar.toc
+++ b/XIV_Databar.toc
@@ -1,4 +1,4 @@
-## Interface: 70300
+## Interface: 70100
## Title: XIV_Databar
## Author: |cffbbbbbbMille|cff990000XIV|r
## Version: 2.0.5
diff --git a/core.lua b/core.lua
index a0c52de..1f474ca 100644
--- a/core.lua
+++ b/core.lua
@@ -125,6 +125,7 @@ function XIVBar:OnInitialize()
self.timerRefresh = false
self:RegisterChatCommand('xivbar', 'ToggleConfig')
+ self:RegisterChatCommand('xb', 'ToggleConfig')
end
function XIVBar:OnEnable()
@@ -144,7 +145,9 @@ function XIVBar:OnEnable()
end
function XIVBar:ToggleConfig()
- InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
+ InterfaceOptionsFrame.selectedTab = 2;
+ InterfaceOptionsFrame:Show()--weird hack ; options registration is wrong in some way
+ InterfaceOptionsFrame_OpenToCategory("XIV Bar")
end
function XIVBar:SetColor(name, r, g, b, a)