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:
@@ -997,6 +997,10 @@ bool Document::isModified() const
|
||||
return d->_isModified;
|
||||
}
|
||||
|
||||
bool Document::isAboutToClose() const
|
||||
{
|
||||
return d->_isClosing;
|
||||
}
|
||||
|
||||
ViewProviderDocumentObject* Document::getViewProviderByPathFromTail(SoPath * path) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user