mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-29 18:06:37 +00:00
Don't allow 'run' when editing UI extension files
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user