diff --git a/src/settings/backendsettingspage.cpp b/src/settings/backendsettingspage.cpp index 1355c383e..ac4404a23 100644 --- a/src/settings/backendsettingspage.cpp +++ b/src/settings/backendsettingspage.cpp @@ -437,10 +437,12 @@ void BackendSettingsPage::ShowWarning(QString text) { ui_->label_warn_text->setStyleSheet("QLabel { color: red; }"); ui_->label_warn_text->setText("" + text + ""); - + + ui_->groupbox_warning->setVisible(true); ui_->label_warn_logo->setVisible(true); ui_->label_warn_text->setVisible(true); + ui_->groupbox_warning->setEnabled(true); ui_->label_warn_logo->setEnabled(true); ui_->label_warn_text->setEnabled(true); @@ -451,9 +453,11 @@ void BackendSettingsPage::ResetWarning() { ui_->label_warn_logo->clear(); ui_->label_warn_text->clear(); + ui_->groupbox_warning->setEnabled(false); ui_->label_warn_logo->setEnabled(false); ui_->label_warn_text->setEnabled(false); - + + ui_->groupbox_warning->setVisible(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 14a8ce319..8375c6ba3 100644 --- a/src/settings/backendsettingspage.ui +++ b/src/settings/backendsettingspage.ui @@ -305,6 +305,9 @@ + + false + @@ -367,6 +370,12 @@ Qt::Vertical + + + 0 + 0 + +