From 24cb0b0496e8f593f22f3e1cd25b286ad8c7031f Mon Sep 17 00:00:00 2001 From: "Joseph W. Joshua" Date: Thu, 31 Jul 2014 18:43:52 +0300 Subject: Hide status message when an error message is present To avoid confusion, this code update makes the status text empty whenever there is an error message. This makes the error message more prominent. Signed-off-by: Joseph W. Joshua Signed-off-by: Thiago Macieira --- qt-ui/configuredivecomputerdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index c9e8da751..293dd244b 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -246,6 +246,7 @@ void ConfigureDiveComputerDialog::configMessage(QString msg) void ConfigureDiveComputerDialog::configError(QString err) { + ui->statusLabel->setText(""); ui->errorLabel->setText(err); } -- cgit v1.2.3-70-g09d2