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 <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
parent
4cc60ea940
commit
24cb0b0496
@ -246,6 +246,7 @@ void ConfigureDiveComputerDialog::configMessage(QString msg)
|
||||
|
||||
void ConfigureDiveComputerDialog::configError(QString err)
|
||||
{
|
||||
ui->statusLabel->setText("");
|
||||
ui->errorLabel->setText(err);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user