Skip to content

Commit

Permalink
gui/log: scroll to bottom on startup
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 18, 2016
1 parent c0bbd99 commit 4940e48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artiq/gui/log.py
Original file line number Diff line number Diff line change
@@ -252,6 +252,8 @@ def set_model(self, model):
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(),

0 comments on commit 4940e48

Please sign in to comment.