summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/maintab.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 378ba8721..c5c8ebda0 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -292,7 +292,9 @@ void MainTab::on_resetNotes_clicked()
if (!ui->editNotes->isChecked())
return;
+#if EDIT_STYLE
ui->editNotes->setText(tr("edit"));
+#endif
ui->buddy->setText(notesBackup.buddy);
ui->suit->setText(notesBackup.suit);
ui->notes->setText(notesBackup.notes);
@@ -311,7 +313,7 @@ void MainTab::on_resetNotes_clicked()
mainWindow()->dive_list()->setEnabled(true);
#if !EDIT_STYLE
- ui->editCylinder->hide();
+ ui->editNotes->hide();
ui->resetNotes->hide();
#endif
}