diff --git a/knotify/kcm/knotificationconfig.cpp b/knotify/kcm/knotificationconfig.cpp index 0a32b8f2..a4ed6f88 100644 --- a/knotify/kcm/knotificationconfig.cpp +++ b/knotify/kcm/knotificationconfig.cpp @@ -91,7 +91,12 @@ KCMNotification::~KCMNotification() void KCMNotification::load() { - m_notificationswidget->setNotification(s_kdenotification); + const int kdeindex = m_notificationsbox->findData(s_kdenotification); + if (kdeindex >= 0) { + m_notificationsbox->setCurrentIndex(kdeindex); + } else { + kWarning() << "could not find the index of" << s_kdenotification; + } emit changed(false); }