diff --git a/common/utils/T/tracer/view/time.c b/common/utils/T/tracer/view/time.c
index b307d3a5929c8b8614522813f350fddf1cb3a2e2..287e7b1c7be029af0a815febb271938d888857a4 100644
--- a/common/utils/T/tracer/view/time.c
+++ b/common/utils/T/tracer/view/time.c
@@ -221,8 +221,8 @@ static void click(void *private, gui *g,
   int *d = notification_data;
   int button = *d;
 
-  if (button == 1) this->autoscroll = 0;
-  if (button == 3) this->autoscroll = 1;
+  if (button == 3) this->autoscroll = 0;
+  if (button == 1) this->autoscroll = 1;
 }
 
 view *new_view_time(int number_of_seconds, float refresh_rate,