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:26:36 +0000 (14:26 -0500)
Signed-off-by: Dmitry Semyonov <dmitry.semyonov@cogentembedded.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/cursesdisplay.c

index 0e2b5679fd44c4866e122f4a1bccc4ba69bdfa19..7f52c8b0e88bbc949b28bff376e2283dcca903d5 100644 (file)
@@ -1629,6 +1629,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.02396 seconds and 4 git commands to generate.