mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Improve wording on buttons when editing a dive
Use the more familiar Save/Undo instead of OK/reset Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
46171036f1
commit
6fa670e612
2 changed files with 3 additions and 3 deletions
|
@ -315,7 +315,7 @@ void MainTab::on_editAccept_clicked(bool edit)
|
|||
mainWindow()->dive_list()->setEnabled(!edit);
|
||||
|
||||
if (edit) {
|
||||
ui->diveNotesMessage->setText(tr("This dive is being edited. click on finish / reset when ready."));
|
||||
ui->diveNotesMessage->setText(tr("This dive is being edited. Select Save or Undo when ready."));
|
||||
ui->diveNotesMessage->animatedShow();
|
||||
notesBackup.buddy = ui->buddy->text();
|
||||
notesBackup.suit = ui->suit->text();
|
||||
|
|
|
@ -122,14 +122,14 @@
|
|||
<item row="10" column="1">
|
||||
<widget class="QPushButton" name="editReset">
|
||||
<property name="text">
|
||||
<string>reset</string>
|
||||
<string>Undo</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0">
|
||||
<widget class="QPushButton" name="editAccept">
|
||||
<property name="text">
|
||||
<string>OK</string>
|
||||
<string>Save</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
|
Loading…
Add table
Reference in a new issue