FreeCAD: master 378314aa

Author Committer Branch Timestamp Parent
realthunder wmayer master 2019-08-20 02:58:07 master 24b1467a
Changeset Gui: try to fix property editor crash

Crash stack trace
https://forum.freecadweb.org/viewtopic.php?f=8&t=37757&e=1&view=unread#p327901

It appears to by caused by handling QAbstractItemDelegate::closeEditor
signal twice. Once inside PropertyItemDelegate::editorClosed via slot
connection where the editor is closed/destroyed, the other in
PropertyEditor::closeEditor() which tries to access the destroyed
editor.

This patch removes handling of closeEditor signal in
PropertyItemDelegate.
mod - src/Gui/propertyeditor/PropertyEditor.cpp Diff File
mod - src/Gui/propertyeditor/PropertyItemDelegate.cpp Diff File
mod - src/Gui/propertyeditor/PropertyItemDelegate.h Diff File