Core: Do not save changes of a text object if the GUI document is about to be closed

This fixes #16873: Text document breaks some Analysis container objects
This commit is contained in:
wmayer
2024-09-30 19:47:09 +02:00
committed by Chris Hennes
parent d876e18808
commit 6c0659711b
4 changed files with 46 additions and 29 deletions

View File

@@ -66,6 +66,7 @@ private:
void labelChanged();
void refresh();
bool isEditorModified() const;
int execSaveDialog();
private:
QPlainTextEdit *const editor;