diff --git a/binds.lua b/binds.lua index e3fa6ff..898ea01 100755 --- a/binds.lua +++ b/binds.lua @@ -110,16 +110,15 @@ local function setAllBinds() end local function enableBars() - SetActionBarToggles(1, 1, 1, 1, 1); - SHOW_MULTI_ACTIONBAR_1 = 1 --Bottom Left Bar - SHOW_MULTI_ACTIONBAR_2 = 1 --Bottom Right Bar - SHOW_MULTI_ACTIONBAR_3 = 1 --Right Bar - SHOW_MULTI_ACTIONBAR_4 = 1 --Right Bar 2 - MultiActionBar_Update(); - InterfaceOptions_UpdateMultiActionBars(); - SetCVar("alwaysShowActionBars", 1); - SetCVar("lockActionBars", 1); - SetCVar("countdownForCooldowns", 1 ); + SetActionBarToggles(1, 1, 1, 1); + SHOW_MULTI_ACTIONBAR_1 = 1 --Bottom Left Bar + SHOW_MULTI_ACTIONBAR_2 = 1 --Bottom Right Bar + SHOW_MULTI_ACTIONBAR_3 = 1 --Right Bar + SHOW_MULTI_ACTIONBAR_4 = 1 --Right Bar 2 + MultiActionBar_Update(); + SetCVar("alwaysShowActionBars", 1); + SetCVar("lockActionBars", 1); + SetCVar("countdownForCooldowns", 1); end local function BindsHandler(msg, editbox) @@ -134,7 +133,6 @@ local function BindsHandler(msg, editbox) setAllBinds() enableBars() SaveBindings(1) - ReloadUI() return end end