[minor] textobjects split into single lines before adding to log for convenience

This commit is contained in:
Marcel Paffrath 2018-07-04 16:48:14 +02:00
parent 27e425844a
commit e05909b188

View File

@ -2339,6 +2339,8 @@ class MainWindow(QMainWindow):
self.nextStation = bool(signal) self.nextStation = bool(signal)
def addListItem(self, text): def addListItem(self, text):
textlist = text.split('\n')
for text in textlist:
self.listWidget.addItem(text) self.listWidget.addItem(text)
self.listWidget.scrollToBottom() self.listWidget.scrollToBottom()