gui/log: fix clearing multi-line messages

This commit is contained in:
Sebastien Bourdeauducq 2016-05-28 13:48:02 -05:00
parent 0faa2d56b4
commit 55fdfc618b
1 changed files with 1 additions and 0 deletions

View File

@ -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):