r40090 - trunk/Yata

0 views
Skip to first unread message

svnco...@wowace.com

unread,
Jun 15, 2007, 2:33:38 PM6/15/07
to wowace-gar...@googlegroups.com
Author: tornhoof
Date: Fri Jun 15 14:33:38 2007
New Revision: 40090

Log:
Yata:
- keybinding bugfix

Modified:
trunk/Yata/TotemBar.lua

Modified: trunk/Yata/TotemBar.lua
==============================================================================
--- trunk/Yata/TotemBar.lua (original)
+++ trunk/Yata/TotemBar.lua Fri Jun 15 14:33:38 2007
@@ -206,7 +206,7 @@

-- Binding functions basicly from ClosetGnome by rabbit
function Yata.Class.TotemBar.prototype:ClearBinding(ID)
- if (not button) then return end
+ if (not ID) then return end
local oldbind = self.db.profile.Keybindings[ID];
if not oldbind then return end
self.db.profile.Keybindings[ID] = nil;
@@ -216,7 +216,7 @@
end

function Yata.Class.TotemBar.prototype:RegisterBinding(key, ID)
- if not key or not button then return end
+ if not key or not ID then return end
if not AceLibrary("AceConsole-2.0").keybindingValidateFunc(key) then
self:Print(string.format("%s is not a valid keybinding.", "|cffd9d919"..key.."|r"))
return

Reply all
Reply to author
Forward
0 new messages