- Timestamp:
- Aug 24, 2010, 4:01:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/data/gui/scripts/MiscConfigMenu.lua
r7163 r7211 102 102 local configvalue = winMgr:createWindow("MenuWidgets/Editbox", "orxonox/MiscConfigMenu/MiscConfigPane/ConfigCommand" .. k .. "/Configvalue") 103 103 configvalue:setProperty("ReadOnly", "set:False") 104 orxonox.CommandExecutor:execute("getConfig " .. P.commandList[k]) 105 local value = orxonox.CommandExecutor:getReturnValueString() 104 local value = orxonox.CommandExecutor:query("getConfig " .. P.commandList[k]) 106 105 configvalue:setText(value) 107 106 P.sampleWindow:setText(value) … … 168 167 169 168 orxonox.CommandExecutor:execute("config " .. P.commandList[commandNr] .. " " .. window:getText()) 170 orxonox.CommandExecutor:execute("getConfig " .. P.commandList[commandNr]) 171 local value = orxonox.CommandExecutor:getReturnValueString() 169 local value = orxonox.CommandExecutor:query("getConfig " .. P.commandList[commandNr]) 172 170 window:setText(value) 173 171 end
Note: See TracChangeset
for help on using the changeset viewer.