mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2025-08-21 09:18:12 +02:00
getWidgetText -> getObjectText, setWidgetText -> setObjectText,
getWindow -> getObjectWindow
This commit is contained in:
parent
9d045413f9
commit
01d43e6e20
4 changed files with 88 additions and 81 deletions
|
@ -116,7 +116,7 @@ end
|
|||
function compileScript()
|
||||
local filePath = showFileDialog(SaveFileDialog, "Select output file...", currentFilter, mainWindow)
|
||||
if (filePath ~= nil) then
|
||||
local compileArgs = { getWidgetText(scriptLineEdit) }
|
||||
local compileArgs = { getObjectText(scriptLineEdit) }
|
||||
if (currentSstub ~= nil) then
|
||||
compileArgs[2] = "--luaengine"
|
||||
compileArgs[3] = sstubDir.."/"..currentSstub
|
||||
|
|
|
@ -56,5 +56,5 @@ function scriptButtonPressed()
|
|||
end
|
||||
|
||||
function runScript()
|
||||
executeProcess(_LuaEngineRT, getWidgetText(scriptLineEdit), true)
|
||||
executeProcess(_LuaEngineRT, getObjectText(scriptLineEdit), true)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue