From 4cc926a627cffc4dc1e89efc38c4a47de5943ed6 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 20 Apr 2019 23:15:34 +0200 Subject: [PATCH] Disable notification art when tray notification is selected --- src/settings/notificationssettingspage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings/notificationssettingspage.cpp b/src/settings/notificationssettingspage.cpp index 39f61847..b46a3ccc 100644 --- a/src/settings/notificationssettingspage.cpp +++ b/src/settings/notificationssettingspage.cpp @@ -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);