summaryrefslogtreecommitdiff
path: root/src/callbacks.cpp
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 12:41:06 +0100
committerinfirit <[email protected]>2014-12-18 12:41:06 +0100
commitecb5966e7f2d9983fadadff64860d4682a1eb92a (patch)
tree6363790db7b3f31550aae0fae54501d5ef5b6fae /src/callbacks.cpp
parent6a0ed19ae7f1cf12b3e44c3d245c34a4fc9edf5d (diff)
downloadmate-system-monitor-ecb5966e7f2d9983fadadff64860d4682a1eb92a.tar.bz2
mate-system-monitor-ecb5966e7f2d9983fadadff64860d4682a1eb92a.tar.xz
Properly clear the selected process before looking for another
Taken from GSM commit: 11e508347c5af1389b2da1c787adcb26cb0ebbef From: Robert Roth <[email protected]> Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=580009
Diffstat (limited to 'src/callbacks.cpp')
-rw-r--r--src/callbacks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index cd42b87..8916c2e 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -293,6 +293,8 @@ cb_row_selected (GtkTreeSelection *selection, gpointer data)
procdata->selection = selection;
+ procdata->selected_process = NULL;
+
/* get the most recent selected process and determine if there are
** no selected processes
*/