forked from M-Labs/artiq
gui/log: fix clearing multi-line messages
This commit is contained in:
parent
0faa2d56b4
commit
55fdfc618b
@ -64,6 +64,7 @@ class _Model(QtCore.QAbstractItemModel):
|
||||
def clear(self):
|
||||
self.beginRemoveRows(QtCore.QModelIndex(), 0, len(self.entries)-1)
|
||||
self.entries.clear()
|
||||
self.children_by_row.clear()
|
||||
self.endRemoveRows()
|
||||
|
||||
def timer_tick(self):
|
||||
|
Loading…
Reference in New Issue
Block a user