diff --git a/shell/currentcontainmentactionsmodel.h b/shell/currentcontainmentactionsmodel.h --- a/shell/currentcontainmentactionsmodel.h +++ b/shell/currentcontainmentactionsmodel.h @@ -60,6 +60,9 @@ Q_INVOKABLE void showAbout(int row, QQuickItem *ctx = nullptr); Q_INVOKABLE void save(); +signals: + void configurationChanged(); + private: Plasma::Containment *m_containment; QHash m_plugins; diff --git a/shell/currentcontainmentactionsmodel.cpp b/shell/currentcontainmentactionsmodel.cpp --- a/shell/currentcontainmentactionsmodel.cpp +++ b/shell/currentcontainmentactionsmodel.cpp @@ -214,8 +214,9 @@ connect(buttons, &QDialogButtonBox::rejected, configDlg, &QDialog::reject); QObject::connect(configDlg, &QDialog::accepted, pluginInstance, - [configDlg, pluginInstance] () { + [this, configDlg, pluginInstance] () { pluginInstance->configurationAccepted(); + emit configurationChanged(); }); connect(pluginInstance, &QObject::destroyed, configDlg, &QDialog::reject);