mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-21 17:45:44 -05:00
Avoid Qt quick compiler for script_template
This commit is contained in:
parent
dcba9ececd
commit
c3c9936c67
|
|
@ -6,7 +6,7 @@
|
|||
<file>text/prefabs_default_emerald.json</file>
|
||||
<file>text/prefabs_default_firered.json</file>
|
||||
<file>text/prefabs_default_ruby.json</file>
|
||||
<file>text/script_template.js</file>
|
||||
<file>text/script_template.txt</file>
|
||||
<file>../CHANGELOG.md</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ void CustomScriptsEditor::createNewScript() {
|
|||
return;
|
||||
}
|
||||
ParseUtil parser;
|
||||
scriptFile.write(parser.readTextFile(":/text/script_template.js").toUtf8());
|
||||
scriptFile.write(parser.readTextFile(":/text/script_template.txt").toUtf8());
|
||||
scriptFile.close();
|
||||
// TODO: When this dialog closes, focus returns to the editor window
|
||||
this->displayNewScript(filepath);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user