diff --git a/src/Gui/propertyeditor/PropertyItemDelegate.cpp b/src/Gui/propertyeditor/PropertyItemDelegate.cpp index 42ee976a89..0f74bc6ad7 100644 --- a/src/Gui/propertyeditor/PropertyItemDelegate.cpp +++ b/src/Gui/propertyeditor/PropertyItemDelegate.cpp @@ -139,6 +139,11 @@ bool PropertyItemDelegate::eventFilter(QObject *o, QEvent *ev) } else if (ev->type() == QEvent::FocusOut) { auto parentEditor = qobject_cast(this->parent()); + if (auto* comboBox = qobject_cast(o)) { + if (parentEditor && parentEditor->activeEditor == comboBox) { + parentEditor->activeEditor = nullptr; + } + } auto widget = qobject_cast(o); if (widget && parentEditor && parentEditor->activeEditor && widget != parentEditor->activeEditor) {