Commit 04e6ca95 authored by David Edmundson's avatar David Edmundson
Browse files

Update applications list immediately when re-enabling view

Otherwise we potentially show stale data for a brief period.
parent 6634d7f5
...@@ -357,6 +357,7 @@ void CGroupDataModel::setEnabled(bool enabled) ...@@ -357,6 +357,7 @@ void CGroupDataModel::setEnabled(bool enabled)
{ {
if (enabled) { if (enabled) {
d->m_updateTimer->start(); d->m_updateTimer->start();
QMetaObject::invokeMethod(this, [this] {update();}, Qt::QueuedConnection);
} else { } else {
d->m_updateTimer->stop(); d->m_updateTimer->stop();
} }
......
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