Gui: fix property enumeration editor initialization

This commit is contained in:
Zheng, Lei
2022-04-04 04:53:52 +02:00
committed by Uwe
parent 1433ff166d
commit 801ece560e
+1
View File
@@ -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;
}