From 55fdfc618b810a22ad8910a91c5248149c0f6670 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 28 May 2016 13:48:02 -0500 Subject: [PATCH] gui/log: fix clearing multi-line messages --- artiq/gui/log.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/gui/log.py b/artiq/gui/log.py index 78f7150b7..86c49bb18 100644 --- a/artiq/gui/log.py +++ b/artiq/gui/log.py @@ -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):