1
0
Fork 0
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:
Syping 2020-05-19 16:25:42 +02:00
parent 9d045413f9
commit 01d43e6e20
4 changed files with 88 additions and 81 deletions

View file

@ -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

View file

@ -56,5 +56,5 @@ function scriptButtonPressed()
end
function runScript()
executeProcess(_LuaEngineRT, getWidgetText(scriptLineEdit), true)
executeProcess(_LuaEngineRT, getObjectText(scriptLineEdit), true)
end