forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ class _LogDock(QDockWidgetCloseDetect):
self.table_model_filter.rowsInserted.connect(self.rows_inserted_after) self.table_model_filter.rowsInserted.connect(self.rows_inserted_after)
self.table_model_filter.rowsRemoved.connect(self.rows_removed) self.table_model_filter.rowsRemoved.connect(self.rows_removed)
asyncio.get_event_loop().call_soon(self.log.scrollToBottom)
def save_state(self): def save_state(self):
return { return {
"min_level_idx": self.filter_level.currentIndex(), "min_level_idx": self.filter_level.currentIndex(),