aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-02 15:48:01 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-02 15:48:01 -0800
commita529285e9eab823c9027af0b86ac21b2aef290e8 (patch)
tree00e36fe0d5e246f6b6b27f3bdb83ff625d68a717 /qt-ui
parent43630cabd66afa89b98ee053ebbd02d53ccefbb4 (diff)
downloadsubsurface-a529285e9eab823c9027af0b86ac21b2aef290e8.tar.gz
Make dive edit message box tex more concise
commit 3c064d58578f ("Make the message when editing a dive fit better") kinda fixed the wrong problem. A better solution was suggested - just drop the instructions regarding Cancel / Safe. It's quite obvious what to do mow that the buttons are part of the message. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index e8bf714d2..3950f17f0 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -175,20 +175,20 @@ void MainTab::enableEdition(EditMode newEditMode)
notesBackup.clear();
if (mainWindow() && mainWindow()->dive_list()->selectedTrips().count() == 1) {
// we are editing trip location and notes
- ui.diveNotesMessage->setText(tr("This trip is being edited.\nSelect Save or Cancel when done."));
+ ui.diveNotesMessage->setText(tr("This trip is being edited."));
ui.diveNotesMessage->animatedShow();
- ui.diveEquipmentMessage->setText(tr("This trip is being edited.\nSelect Save or Cancel when done."));
+ ui.diveEquipmentMessage->setText(tr("This trip is being edited."));
ui.diveEquipmentMessage->animatedShow();
notesBackup[NULL].notes = ui.notes->toPlainText();
notesBackup[NULL].location = ui.location->text();
editMode = TRIP;
} else {
if (amount_selected > 1) {
- ui.diveNotesMessage->setText(tr("Multiple dives are being edited.\nSelect Save or Cancel when done."));
- ui.diveEquipmentMessage->setText(tr("Multiple dives are being edited.\nSelect Save or Cancel when done."));
+ ui.diveNotesMessage->setText(tr("Multiple dives are being edited."));
+ ui.diveEquipmentMessage->setText(tr("Multiple dives are being edited."));
} else {
- ui.diveNotesMessage->setText(tr("This dive is being edited.\nSelect Save or Cancel when done."));
- ui.diveEquipmentMessage->setText(tr("This dive is being edited.\nSelect Save or Cancel when done."));
+ ui.diveNotesMessage->setText(tr("This dive is being edited."));
+ ui.diveEquipmentMessage->setText(tr("This dive is being edited."));
}
ui.diveNotesMessage->animatedShow();
ui.diveEquipmentMessage->animatedShow();