From e05909b188b4bcdef83372a06c5296d9f10cff20 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 4 Jul 2018 16:48:14 +0200 Subject: [PATCH] [minor] textobjects split into single lines before adding to log for convenience --- PyLoT.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PyLoT.py b/PyLoT.py index 76238428..f8c99424 100755 --- a/PyLoT.py +++ b/PyLoT.py @@ -2339,7 +2339,9 @@ class MainWindow(QMainWindow): self.nextStation = bool(signal) def addListItem(self, text): - self.listWidget.addItem(text) + textlist = text.split('\n') + for text in textlist: + self.listWidget.addItem(text) self.listWidget.scrollToBottom() def init_fig_dict(self):