Skip to content

Commit

Permalink
Gui: add missing title to option HiddenLineSync and ShadowSync
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Apr 7, 2024
1 parent 64baaf1 commit 7d0e3cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Gui/DlgSettingsDrawStyles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ void DlgSettingsDrawStyles::retranslateUi()
labelOutlineThicken->setToolTip(OutlineThicken->toolTip());
groupHiddenLines->setTitle(QObject::tr("Hidden Lines"));
HiddenLineSync->setToolTip(QApplication::translate("ViewParams", Gui::ViewParams::docHiddenLineSync()));
labelHiddenLineSync->setText(QObject::tr("HiddenLineSync"));
labelHiddenLineSync->setText(QObject::tr("Synchronize"));
labelHiddenLineSync->setToolTip(HiddenLineSync->toolTip());
// Auto generated code (Tools/params_utils.py:1113)
HiddenLineSync->setItemText(0, QObject::tr("None"));
Expand Down Expand Up @@ -829,7 +829,7 @@ void DlgSettingsDrawStyles::retranslateUi()
labelHiddenLinePointSize->setToolTip(HiddenLinePointSize->toolTip());
groupShadow->setTitle(QObject::tr("Shadow"));
ShadowSync->setToolTip(QApplication::translate("ViewParams", Gui::ViewParams::docShadowSync()));
labelShadowSync->setText(QObject::tr("ShadowSync"));
labelShadowSync->setText(QObject::tr("Synchronize"));
labelShadowSync->setToolTip(ShadowSync->toolTip());
// Auto generated code (Tools/params_utils.py:1113)
ShadowSync->setItemText(0, QObject::tr("None"));
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/ViewParams.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def init_widget(self, param, row, group_name):
title='Transparency',
doc="Transparency for the selected object when being shown on top."),
ParamInt('HiddenLineSync', 1,
"Specifies how to sync hidden line draw style settings to opened document",
title='Synchronize', doc="Specifies how to sync hidden line draw style settings to opened document",
proxy=ParamComboBox(items=[(item[0], item[1]) for item in DrawStyleSync])),
ParamBool('HiddenLineSelectionOnTop', True,
"Enable hidden line/point selection when SelectionOnTop is active."),
Expand Down Expand Up @@ -269,7 +269,7 @@ def init_widget(self, param, row, group_name):
title='Hide face'),
ParamInt('StatusMessageTimeout', 5000),
ParamInt('ShadowSync', 1,
"Specifies how to sync shadow draw style settings to opened document",
title='Synchronize', doc="Specifies how to sync shadow draw style settings to opened document",
proxy=ParamComboBox(items=[(item[0], item[1]) for item in DrawStyleSync])),
ParamBool('ShadowFlatLines', True,
"Draw object with 'Flat lines' style when shadow is enabled."),
Expand Down

0 comments on commit 7d0e3cf

Please sign in to comment.