Mercurial > wow > reaction
diff modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 50:c3c64e2def50
Assorted cleanup for hide/show grid, action ID labels, draggable resizing, etc
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Tue, 22 Apr 2008 20:37:44 +0000 |
parents | 7b7d178dec52 |
children | c964fb84560c |
line wrap: on
line diff
--- a/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Mon Apr 14 23:03:19 2008 +0000 +++ b/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Tue Apr 22 20:37:44 2008 +0000 @@ -185,8 +185,8 @@ end function module:CreateBar() - if self.tmpBarType and self.tmpBarType ~= "" then - ReAction:CreateBar(self.tmpBarName, self.tmpBarType, self.tmpBarRows, self.tmpBarCols, self.tmpBarSize, self.tmpBarSpacing) + if self.tmpBarName and self.tmpBarName ~= "" then + ReAction:CreateBar(self.tmpBarName, self.tmpBarType or ReAction.defaultBarConfigChoice, self.tmpBarRows, self.tmpBarCols, self.tmpBarSize, self.tmpBarSpacing) self.tmpBarName = nil end end