Changeset 7284 for code/trunk/data/gui/scripts
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/data/gui/scripts/MiscConfigMenu.lua
r7163 r7284 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.