summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-29 17:44:52 +0300
committermonsta <[email protected]>2016-02-29 17:44:52 +0300
commitb697b585d3e492014682f4d176b0dd2bbb05bef7 (patch)
tree8c07d2400064504cb038b89fa4e0a7fd6e0b8484
parent5fc85dd404ee822eef15bae2726d859f23e1a8af (diff)
downloadmate-system-monitor-b697b585d3e492014682f4d176b0dd2bbb05bef7.tar.bz2
mate-system-monitor-b697b585d3e492014682f4d176b0dd2bbb05bef7.tar.xz
process table: avoid expanding collapsed nodes on every refresh
from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=f7f4c5506bc47f7cd340ce02404029a0ca6185e0
-rw-r--r--src/proctable.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/proctable.cpp b/src/proctable.cpp
index 89d9411..d1a7840 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -1025,7 +1025,6 @@ proctable_update_list (ProcData * const procdata)
if (procdata->config.show_tree)
{
selection.save(procdata->tree);
- proctable_clear_tree(procdata);
}
break;
@@ -1035,7 +1034,6 @@ proctable_update_list (ProcData * const procdata)
if (procdata->config.show_tree)
{
selection.save(procdata->tree);
- proctable_clear_tree(procdata);
}
break;
}