Quantcast

Don't update the config if it is not visible

James Whitehead II [10-14-10 - 20:00]
Don't update the config if it is not visible
Filename
BindConfig.lua
diff --git a/BindConfig.lua b/BindConfig.lua
index b5372fe..e62f8b8 100755
--- a/BindConfig.lua
+++ b/BindConfig.lua
@@ -301,6 +301,8 @@ function CliqueConfig:UpdateList()
     -- GUI not created yet
     if not self.initialized then
         return
+    elseif not self:IsVisible() then
+        return
     end

     -- Sort the bindings