From 4650f426d4822ad999228a82324cb61bbd544e04 Mon Sep 17 00:00:00 2001 From: Pieter Hijma Date: Tue, 1 Apr 2025 21:33:33 +0200 Subject: [PATCH] [Core] Enable a frame in VarSet dialog value field The Add Property Dialog for VarSets creates an editor based on the type. This editor has no frame by default because it is mostly used in the property view as part of a table. With this change we enable the frame for the editor (the value field) --- src/Gui/Dialogs/DlgAddPropertyVarSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Dialogs/DlgAddPropertyVarSet.cpp b/src/Gui/Dialogs/DlgAddPropertyVarSet.cpp index 6a654898bf..f78a457247 100644 --- a/src/Gui/Dialogs/DlgAddPropertyVarSet.cpp +++ b/src/Gui/Dialogs/DlgAddPropertyVarSet.cpp @@ -261,7 +261,7 @@ void DlgAddPropertyVarSet::addEditor(PropertyEditor::PropertyItem* propertyItem, { editor.reset(propertyItem->createEditor(this, [this]() { this->valueChanged(); - })); + }, PropertyEditor::FrameOption::WithFrame)); editor->blockSignals(true); propertyItem->setEditorData( editor.get(),