diff --git a/python/tmc_parser.py b/python/tmc_parser.py index df733e3..058a02a 100644 --- a/python/tmc_parser.py +++ b/python/tmc_parser.py @@ -305,10 +305,18 @@ class tmc_parser_Widget(QtGui.QWidget): filters=[{"type":"location", "str":lf},{"type":"event", "str":ef}] if tmc_dict.matchFilter(tmc_msg,self.showInvalid,filters): print_dbg("a",end="") - self.logOutput.append(Qt.QString.fromUtf8(tmc_msg.log_string())) + logstr=Qt.QString.fromUtf8(tmc_msg.log_string()) + print_dbg(".",end="") + self.logOutput.append(logstr) + QtGui.QApplication.processEvents() + print_dbg(".",end="") print_dbg("a",end="") - self.logOutput.append(Qt.QString.fromUtf8(tmc_msg.multi_str())) + multistr=Qt.QString.fromUtf8(tmc_msg.multi_str()) + print_dbg(".",end="") + self.logOutput.append(multistr) print_dbg("a",end="") + QtGui.QApplication.processEvents() + print_dbg(".",end="") if auto_scroll: #sb=self.logOutput.verticalScrollBar() #disabled 2017-04-28 might be cause of double free new_max=sb.maximum() @@ -334,6 +342,7 @@ class tmc_parser_Widget(QtGui.QWidget): code.interact(local=locals()) print("read filters,",end="") self.logOutput.clear() + QtGui.QApplication.processEvents() print("cleared,",end="") filters=[{"type":"location", "str":lf},{"type":"event", "str":ef}] #print("getting logstring with filters:%s, showInvalid:%i"%(filters,self.showInvalid)) @@ -342,6 +351,7 @@ class tmc_parser_Widget(QtGui.QWidget): print("got str,",end="") self.logOutput.append(Qt.QString.fromUtf8(logstr)) + QtGui.QApplication.processEvents() self.logMutex.release(1) print("appended,",end="") self.parser.dataLock.release(1)