diff --git a/python/tmc_parser.py b/python/tmc_parser.py index 503723f..67777f3 100644 --- a/python/tmc_parser.py +++ b/python/tmc_parser.py @@ -304,10 +304,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() @@ -333,6 +341,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)) @@ -341,6 +350,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)