2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

gui/log: scroll to bottom on startup

This commit is contained in:
Sebastien Bourdeauducq 2016-02-18 01:09:51 +01:00
parent c0bbd99bfa
commit 4940e48d85

View File

@ -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(),