diff options
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index add4c80de..4a0649626 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -137,9 +137,15 @@ RenumberDialog *RenumberDialog::instance() void RenumberDialog::renumberOnlySelected(bool selected) { if (selected && amount_selected == 1) - ui.groupBox->setTitle(tr("New number")); + ui.renumberText->setText(tr("New number")); else - ui.groupBox->setTitle(tr("New starting number")); + ui.renumberText->setText(tr("New starting number")); + + if (selected) + ui.groupBox->setTitle(tr("Renumber selected dives")); + else + ui.groupBox->setTitle(tr("Renumber all dives")); + selectedOnly = selected; } |