diff --git a/src/settings/backendsettingspage.cpp b/src/settings/backendsettingspage.cpp index f1cb45fa7..1355c383e 100644 --- a/src/settings/backendsettingspage.cpp +++ b/src/settings/backendsettingspage.cpp @@ -437,6 +437,9 @@ void BackendSettingsPage::ShowWarning(QString text) { ui_->label_warn_text->setStyleSheet("QLabel { color: red; }"); ui_->label_warn_text->setText("" + text + ""); + + ui_->label_warn_logo->setVisible(true); + ui_->label_warn_text->setVisible(true); ui_->label_warn_logo->setEnabled(true); ui_->label_warn_text->setEnabled(true); @@ -450,6 +453,9 @@ void BackendSettingsPage::ResetWarning() { ui_->label_warn_logo->setEnabled(false); ui_->label_warn_text->setEnabled(false); + + ui_->label_warn_logo->setVisible(false); + ui_->label_warn_text->setVisible(false); } diff --git a/src/settings/backendsettingspage.ui b/src/settings/backendsettingspage.ui index 8bf0bfed7..14a8ce319 100644 --- a/src/settings/backendsettingspage.ui +++ b/src/settings/backendsettingspage.ui @@ -367,12 +367,6 @@ Qt::Vertical - - - 20 - 114 - -