Commit 069a2014 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Refresh action list upon action change as the filter gets potentially wrong

CCBUG: 388294
parent f7fe7348
......@@ -70,6 +70,10 @@ void ActionsModel::reload()
beginResetModel();
m_actions = actions;
endResetModel();
for(auto a : qAsConst(m_filteredActions)) {
connect(a, &QAction::changed, this, &ActionsModel::reload, Qt::UniqueConnection);
}
}
int ActionsModel::filterPriority() const
......
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