[minor] textobjects split into single lines before adding to log for convenience
This commit is contained in:
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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user