[minor] textobjects split into single lines before adding to log for convenience
This commit is contained in:
parent
27e425844a
commit
e05909b188
2
PyLoT.py
2
PyLoT.py
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user