Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
04e6ca95
Commit
04e6ca95
authored
Apr 14, 2021
by
David Edmundson
Browse files
Update applications list immediately when re-enabling view
Otherwise we potentially show stale data for a brief period.
parent
6634d7f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
processcore/cgroup_data_model.cpp
View file @
04e6ca95
...
...
@@ -357,6 +357,7 @@ void CGroupDataModel::setEnabled(bool enabled)
{
if
(
enabled
)
{
d
->
m_updateTimer
->
start
();
QMetaObject
::
invokeMethod
(
this
,
[
this
]
{
update
();},
Qt
::
QueuedConnection
);
}
else
{
d
->
m_updateTimer
->
stop
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment