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 @@ -222,6 +222,8 @@ pluginInstance->configurationAccepted(); }); + connect(configDlg, &QDialog::accepted, this, &CurrentContainmentActionsModel::configurationChanged); + connect(pluginInstance, &QObject::destroyed, configDlg, &QDialog::reject); configDlg->show();