Skip to content

Commit

Permalink
Gui: auto close transaction on Document resetEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Aug 30, 2019
1 parent 02df227 commit f7d416d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/Document.cpp
Expand Up @@ -460,6 +460,7 @@ void Document::_resetEdit(void)
if (editViewProvider->isDerivedFrom(ViewProviderDocumentObject::getClassTypeId()))
signalResetEdit(*(static_cast<ViewProviderDocumentObject*>(editViewProvider)));
#endif
App::GetApplication().closeActiveTransaction();
}
d->_editViewProviderParent = 0;
if(Application::Instance->editDocument() == this)
Expand Down

0 comments on commit f7d416d

Please sign in to comment.