mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2025-01-02 17:19:44 +01:00
[skip ci] fix runtime and compiler script
This commit is contained in:
parent
5ea18c9b4b
commit
6de0b7af54
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ end
|
||||||
function scriptButtonPressed()
|
function scriptButtonPressed()
|
||||||
local filePath = showFileDialog(OpenFileDialog, "Select LuaEngine script...", "LuaEngine scripts (*.lua *.lea)", mainWindow)
|
local filePath = showFileDialog(OpenFileDialog, "Select LuaEngine script...", "LuaEngine scripts (*.lua *.lea)", mainWindow)
|
||||||
if (filePath ~= nil) then
|
if (filePath ~= nil) then
|
||||||
setWidgetText(scriptLineEdit, filePath)
|
setObjectText(scriptLineEdit, filePath)
|
||||||
setWidgetEnabled(compileButton, true)
|
setWidgetEnabled(compileButton, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -51,7 +51,7 @@ end
|
||||||
function scriptButtonPressed()
|
function scriptButtonPressed()
|
||||||
local filePath = showFileDialog(OpenFileDialog, "Select LuaEngine script...", "LuaEngine scripts (*.lua *.lea)", mainWindow)
|
local filePath = showFileDialog(OpenFileDialog, "Select LuaEngine script...", "LuaEngine scripts (*.lua *.lea)", mainWindow)
|
||||||
if (filePath ~= nil) then
|
if (filePath ~= nil) then
|
||||||
setWidgetText(scriptLineEdit, filePath)
|
setObjectText(scriptLineEdit, filePath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue