Disable notification art when tray notification is selected
This commit is contained in:
parent
a499a70633
commit
4cc926a627
|
@ -334,10 +334,12 @@ void NotificationsSettingsPage::NotificationTypeChanged() {
|
|||
|
||||
bool enabled = !ui_->notifications_none->isChecked();
|
||||
bool pretty = ui_->notifications_pretty->isChecked();
|
||||
bool tray = ui_->notifications_tray->isChecked();
|
||||
|
||||
ui_->notifications_general->setEnabled(enabled);
|
||||
ui_->notifications_pretty_group->setEnabled(pretty);
|
||||
ui_->notifications_custom_text_group->setEnabled(enabled);
|
||||
ui_->notifications_art->setEnabled(!tray);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
ui_->notifications_options->setEnabled(pretty);
|
||||
|
|
Loading…
Reference in New Issue