Don't write scripts to temp file, run in their real location

* This means any changes in the external editor/debugger will be reflected
  properly.
This commit is contained in:
baldurk
2026-08-13 21:05:13 +01:00
parent a113dbbda8
commit bf710530d2
2 changed files with 37 additions and 4 deletions
+2
View File
@@ -182,6 +182,7 @@ private:
QFileSystemWatcher *m_Watcher = NULL;
QList<QString> m_ModifiedExtensions;
bool m_DebuggerAttached = false;
QTimer *m_SyntaxCheckTimer;
@@ -225,6 +226,7 @@ private:
void makeEditor(rdcstr filename, rdcstr text);
void updateEditorCloseButton();
void updateNonDebugWarning();
void addRecentFile(rdcstr filename);
void updateRecentFiles(bool added);