mirror of https://github.com/m-labs/artiq.git
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):
|
def clear(self):
|
||||||
self.beginRemoveRows(QtCore.QModelIndex(), 0, len(self.entries)-1)
|
self.beginRemoveRows(QtCore.QModelIndex(), 0, len(self.entries)-1)
|
||||||
self.entries.clear()
|
self.entries.clear()
|
||||||
|
self.children_by_row.clear()
|
||||||
self.endRemoveRows()
|
self.endRemoveRows()
|
||||||
|
|
||||||
def timer_tick(self):
|
def timer_tick(self):
|
||||||
|
|
Loading…
Reference in New Issue