From c7ad55274f3b65167c9d54aa9c824d9f62ba2ca4 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 16 May 2017 16:22:12 +0300 Subject: [PATCH] Read default value of option Hide main path from settings. ref #684. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp index 225a0e5e3..dc24ff239 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -2463,6 +2463,7 @@ void DialogSeamAllowance::InitFancyTabBar() void DialogSeamAllowance::InitMainPathTab() { uiTabPaths->checkBoxForbidFlipping->setChecked(qApp->Settings()->GetForbidWorkpieceFlipping()); + uiTabPaths->checkBoxHideMainPath->setChecked(qApp->Settings()->IsHideMainPath()); uiTabPaths->listWidgetMainPath->setContextMenuPolicy(Qt::CustomContextMenu); connect(uiTabPaths->listWidgetMainPath, &QListWidget::customContextMenuRequested, this,