Reset selected_line while switching to process_details view and back
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 4 Mar 2013 19:24:55 +0000 (14:24 -0500)
committerJulien Desfossez <jdesfossez@efficios.com>
Mon, 4 Mar 2013 19:24:55 +0000 (14:24 -0500)
Signed-off-by: Dmitry Semyonov <dmitry.semyonov@cogentembedded.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/cursesdisplay.c

index beb7bdf7342173c3ecf4e639e2826566155f1881..8c1a3baf6069508e71e628fbef40bfb28c5c592e 100644 (file)
@@ -1473,6 +1473,7 @@ void *handle_keyboard(void *p)
                                current_view = previous_view;
                                previous_view = process_details;
                        }
+                       selected_line = 0;
                        update_current_view();
                        break;
 
This page took 0.024375 seconds and 4 git commands to generate.