diff UI.lua @ 88:7ff0579e5a6e

- checking work on D:Console_Toggle()
author Nenue
date Tue, 26 Jul 2016 09:50:45 -0400
parents e80723841888
children b3ed963f482d
line wrap: on
line diff
--- a/UI.lua	Tue Jul 26 09:21:37 2016 -0400
+++ b/UI.lua	Tue Jul 26 09:50:45 2016 -0400
@@ -381,7 +381,7 @@
 function D:Console_Toggle(cmd, force)
 
 
-  local args = {}
+  local search = {}
   if cmd then
     cmd = tostring(cmd)
     local i, j = 0, 0
@@ -402,12 +402,6 @@
 
   local profile = D.currentProfile
   local setAll
-  local search = {}
-  -- resolve key/sig values from args
-  for i, key in ipairs(args) do
-
-  --oldprint(#search, key, n)
-  end
 
   -- if nothing was found, then do an all toggle
   if #search < 1 then