diff --git a/shell/currentcontainmentactionsmodel.cpp b/shell/currentcontainmentactionsmodel.cpp index 3b2a3400a..9636ac5b2 100644 --- a/shell/currentcontainmentactionsmodel.cpp +++ b/shell/currentcontainmentactionsmodel.cpp @@ -222,6 +222,8 @@ void CurrentContainmentActionsModel::showConfiguration(int row, QQuickItem *ctx) pluginInstance->configurationAccepted(); }); + connect(configDlg, &QDialog::accepted, this, &CurrentContainmentActionsModel::configurationChanged); + connect(pluginInstance, &QObject::destroyed, configDlg, &QDialog::reject); configDlg->show(); diff --git a/shell/currentcontainmentactionsmodel.h b/shell/currentcontainmentactionsmodel.h index 86f96f6c6..ef6095c33 100644 --- a/shell/currentcontainmentactionsmodel.h +++ b/shell/currentcontainmentactionsmodel.h @@ -60,6 +60,9 @@ public: Q_INVOKABLE void showAbout(int row, QQuickItem *ctx = nullptr); Q_INVOKABLE void save(); +signals: + void configurationChanged(); + private: Plasma::Containment *m_containment; QHash m_plugins;