Don't allow 'run' when editing UI extension files

This commit is contained in:
baldurk
2026-08-13 21:05:13 +01:00
parent 4f07e09d48
commit 14e636d1a5
3 changed files with 34 additions and 0 deletions
+5
View File
@@ -61,6 +61,8 @@ class EditorWrapper : public QFrame
QString m_Filename;
bool m_Modified = false;
bool m_UIExt = false;
void updateTitle();
public:
@@ -77,6 +79,9 @@ public:
bool isModified() { return m_Modified; }
void markModified(bool modified);
bool isUIExtension() { return m_UIExt; }
void setUIExtension(bool uiext) { m_UIExt = uiext; }
public slots:
bool checkAllowClose();
};