Commit 3f093c39 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[CurrentContainmentActionsModel] Emit configurationChanged when action is added/removed/edited

Removes the need for the UI to explicitly do this on every action.

Differential Revision:
parent 856e5a25
......@@ -132,6 +132,8 @@ bool CurrentContainmentActionsModel::append(const QString &action, const QString
emit configurationChanged();
return true;
......@@ -166,6 +168,8 @@ void CurrentContainmentActionsModel::update(int row, const QString &action, cons
setData(idx, m_plugins[action]->pluginInfo().property(QStringLiteral("X-Plasma-HasConfigurationInterface")).toBool(), HasConfigurationInterfaceRole);
emit configurationChanged();
......@@ -178,6 +182,7 @@ void CurrentContainmentActionsModel::remove(int row)
delete m_plugins[action];
m_removedTriggers << action;
emit configurationChanged();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment