Quantcast

Update interface number in TOC

James Whitehead II [04-29-10 - 22:05]
Update interface number in TOC
Filename
PerfectRaid.toc
PerfectRaid_Buffs.lua
diff --git a/PerfectRaid.toc b/PerfectRaid.toc
index 4f3214a..fad364f 100644
--- a/PerfectRaid.toc
+++ b/PerfectRaid.toc
@@ -1,4 +1,4 @@
-## Interface: 30200
+## Interface: 30300
 ## Title: PerfectRaid
 ## Version: wowi:revision
 ## Author: Cladhaire
diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua
index 249ce8a..32781c3 100644
--- a/PerfectRaid_Buffs.lua
+++ b/PerfectRaid_Buffs.lua
@@ -912,7 +912,7 @@ StaticPopupDialogs["PR_BUFF_SAVE_ERROR"] = {
 	hideOnEscape = 1
 }

-local click_func = function() Buffs:DropDown_OnClick() end
+local click_func = function(frame) Buffs:DropDown_OnClick(frame) end
 local init_func = function() Buffs:DropDown_Initialize() end

 function Buffs:DropDown_Initialize()
@@ -927,8 +927,8 @@ function Buffs:DropDown_Initialize()
 	end
 end

-function Buffs:DropDown_OnClick(self)
-	local entry = self.value
+function Buffs:DropDown_OnClick(frame)
+	local entry = frame.value
 	self:FillEntry(entry)
 end