From 801ece560e9ef104952b50a090fdad87b4cebaff Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sat, 12 Feb 2022 19:22:01 +0800 Subject: [PATCH] Gui: fix property enumeration editor initialization --- src/Gui/propertyeditor/PropertyItem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 21c2543d7f..1e1067f8bf 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -2951,6 +2951,7 @@ QWidget* PropertyEnumItem::createEditor(QWidget* parent, const QObject* receiver QComboBox *cb = new QComboBox(parent); cb->setFrame(false); cb->setDisabled(isReadOnly()); + cb->addItems(commonModes); QObject::connect(cb, SIGNAL(activated(int)), receiver, method); return cb; }