diff options
author | infirit <[email protected]> | 2014-12-18 12:41:06 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-18 12:41:06 +0100 |
commit | ecb5966e7f2d9983fadadff64860d4682a1eb92a (patch) | |
tree | 6363790db7b3f31550aae0fae54501d5ef5b6fae /src/callbacks.cpp | |
parent | 6a0ed19ae7f1cf12b3e44c3d245c34a4fc9edf5d (diff) | |
download | mate-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.cpp | 2 |
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 */ |