From 4940e48d855824c7b5928801d4a8edc044b784eb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 18 Feb 2016 01:09:51 +0100 Subject: [PATCH] gui/log: scroll to bottom on startup --- artiq/gui/log.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/gui/log.py b/artiq/gui/log.py index bc969985d..7ad27f47e 100644 --- a/artiq/gui/log.py +++ b/artiq/gui/log.py @@ -252,6 +252,8 @@ class _LogDock(QDockWidgetCloseDetect): self.table_model_filter.rowsInserted.connect(self.rows_inserted_after) self.table_model_filter.rowsRemoved.connect(self.rows_removed) + asyncio.get_event_loop().call_soon(self.log.scrollToBottom) + def save_state(self): return { "min_level_idx": self.filter_level.currentIndex(),