Commit d3c0c394 authored by Michail Vourlakos's avatar Michail Vourlakos Committed by Nate Graham
Browse files

Fix SystemEntries not updating correctly

The code is meant to add the entry if it's valid, then watch for
changes. Somehow we end up only monitoring if it was valid initially.
This doesn't make sense.

This means if the menu loads before the backend we don't update
correctly when it does load.

CCBUG: 423526
BUG: 427779

(cherry picked from commit 7c5f16c4)
parent 73f42462
......@@ -107,9 +107,9 @@ void SystemModel::populate()
if (entry->isValid()) {
m_entries << entry;
QObject::connect(entry, &SystemEntry::isValidChanged, this,
&AbstractModel::refresh, Qt::UniqueConnection);
Supports Markdown
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