diff Editor.lua @ 261:5694618cef7f

Make Activate On Down apply immediately rather than on next load
author Flick
date Fri, 06 May 2011 15:49:02 -0700
parents c918ff9ac787
children c27596828276
line wrap: on
line diff
--- a/Editor.lua	Mon Apr 25 11:43:42 2011 -0700
+++ b/Editor.lua	Fri May 06 15:49:02 2011 -0700
@@ -260,7 +260,7 @@
               name = L["Activate on Down"],
               desc = L["Activate the button when the key or mouse button is pressed down instead of when it is released"],
               order = 3,
-              set  = function(info, value) bar:GetConfig().clickDown = value end,
+              set  = function(info, value) bar:GetConfig().clickDown = value; ReAction:RebuildAll() end,
               get  = function() return bar:GetConfig().clickDown end,
             },
             anchor = {