Gui: Fix VarSet dialog 2 digit problem
This commit is contained in:
committed by
Chris Hennes
parent
45ab20fd7e
commit
46dfa2e39b
@@ -250,9 +250,7 @@ void DlgAddPropertyVarSet::addEditor(PropertyEditor::PropertyItem* propertyItem,
|
||||
editor.reset(propertyItem->createEditor(this, [this]() {
|
||||
this->valueChanged();
|
||||
}));
|
||||
if (type == "App::PropertyFont") {
|
||||
propertyItem->setEditorData(editor.get(), QVariant());
|
||||
}
|
||||
propertyItem->setEditorData(editor.get(), QVariant());
|
||||
editor->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
editor->setObjectName(QString::fromUtf8("editor"));
|
||||
auto formLayout = qobject_cast<QFormLayout*>(layout());
|
||||
|
||||
Reference in New Issue
Block a user