FreeCAD: master ddb17b23

Author Committer Branch Timestamp Parent
realthunder wmayer master 2019-08-21 01:52:16 master 378314aa
Changeset Gui: fix property editor crash on recompute

The actual cause of crash in previous commit 80f70ff6 is
Document::recompute() allows aborting using Base::Sequence, which
uses QApplication::processEvent() to catch 'ESC' key press. This local
event loop causes premature deletion of the editor widget.

This patch moves handling of closeEditor before calling recompute().
mod - src/Gui/propertyeditor/PropertyEditor.cpp Diff File