Commit 25ab41f3 authored by Guillaume Seguin's avatar Guillaume Seguin

If printcore is loud, no need to print the received lines again

parent 5c8bc44f
...@@ -1338,7 +1338,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -1338,7 +1338,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
else: else:
isreport = True isreport = True
tstring = l.rstrip() tstring = l.rstrip()
if self.p.loud or (tstring not in ["ok", "wait"] and not isreport): if not self.p.loud and (tstring not in ["ok", "wait"] and not isreport):
wx.CallAfter(self.addtexttolog, tstring + "\n"); wx.CallAfter(self.addtexttolog, tstring + "\n");
for listener in self.recvlisteners: for listener in self.recvlisteners:
listener(l) listener(l)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment