Read default value of option Hide main path from settings. ref #684.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-05-16 16:22:12 +03:00
parent 28fce33530
commit c7ad55274f

View File

@ -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,