From ecb5966e7f2d9983fadadff64860d4682a1eb92a Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 18 Dec 2014 12:41:06 +0100 Subject: Properly clear the selected process before looking for another Taken from GSM commit: 11e508347c5af1389b2da1c787adcb26cb0ebbef From: Robert Roth Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=580009 --- src/callbacks.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit v1.2.1