mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 06:43:25 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ void ConfigureDiveComputerDialog::configMessage(QString msg)
|
||||||
|
|
||||||
void ConfigureDiveComputerDialog::configError(QString err)
|
void ConfigureDiveComputerDialog::configError(QString err)
|
||||||
{
|
{
|
||||||
|
ui->statusLabel->setText("");
|
||||||
ui->errorLabel->setText(err);
|
ui->errorLabel->setText(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue