From 76e43efdc67cffeb88831102e5f02d2e8b19e769 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Sat, 29 Mar 2025 18:54:13 -0700 Subject: [PATCH] Read auto collapse user preferences --- src/Gui/PropertyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/PropertyView.cpp b/src/Gui/PropertyView.cpp index d0ef38aaab..603e66c658 100644 --- a/src/Gui/PropertyView.cpp +++ b/src/Gui/PropertyView.cpp @@ -86,12 +86,14 @@ PropertyView::PropertyView(QWidget *parent) propertyEditorView->setObjectName(QStringLiteral("propertyEditorView")); propertyEditorView->setAutomaticDocumentUpdate(_GetParam()->GetBool("AutoTransactionView", false)); propertyEditorView->setAutomaticExpand(_GetParam()->GetBool("AutoExpandView", false)); + propertyEditorView->setAutomaticCollapse(_GetParam()->GetBool("AutoCollapseView", false)); tabs->addTab(propertyEditorView, tr("View")); propertyEditorData = new Gui::PropertyEditor::PropertyEditor(); propertyEditorData->setObjectName(QStringLiteral("propertyEditorData")); propertyEditorData->setAutomaticDocumentUpdate(_GetParam()->GetBool("AutoTransactionData", true)); propertyEditorData->setAutomaticExpand(_GetParam()->GetBool("AutoExpandData", false)); + propertyEditorView->setAutomaticCollapse(_GetParam()->GetBool("AutoCollapseData", false)); tabs->addTab(propertyEditorData, tr("Data")); int preferredTab = _GetParam()->GetInt("LastTabIndex", 1);