PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select'

This commit is contained in:
Paddle
2023-03-25 06:36:56 +01:00
parent d56842fd92
commit ea463a6a53
6 changed files with 10 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ void TaskDraftParameters::onSelectionChanged(const Gui::SelectionChanges& msg)
void TaskDraftParameters::setButtons(const selectionModes mode)
{
ui->buttonRefSel->setText(mode == refSel ? tr("End selection") : tr("Start selection"));
ui->buttonRefSel->setText(mode == refSel ? btnPreviewStr : btnSelectStr);
ui->buttonRefSel->setChecked(mode == refSel);
ui->buttonLine->setChecked(mode == line);
ui->buttonPlane->setChecked(mode == plane);