diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index c33ad717b..be079cf31 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -231,9 +231,11 @@ void MainTab::on_editNotes_clicked(bool edit) notesBackup.divemaster = ui->divemaster->text(); notesBackup.location = ui->location->text(); notesBackup.rating = ui->rating->currentStars(); + ui->editNotes->setText(tr("OK")); } else{ ui->diveNotesMessage->animatedHide(); + ui->editNotes->setText(tr("edit")); } } @@ -242,6 +244,7 @@ void MainTab::on_resetNotes_clicked() if (!ui->editNotes->isChecked()) return; + ui->editNotes->setText(tr("edit")); ui->buddy->setText(notesBackup.buddy); ui->suit->setText(notesBackup.suit); ui->notes->setText(notesBackup.notes); |