More canonical test.
authorEdouard Tisserant
Mon, 16 Apr 2018 11:00:04 +0200
changeset 1989 9b5c712f4488
parent 1988 19ca02e8074f
child 1990 2e0fbdd152de
More canonical test.
There is an exception happening around here in some cases when connection is dropped while waiting for answer. Not sure that this fixes it but this is anyhow better.
controls/LogViewer.py
--- a/controls/LogViewer.py	Sat Apr 14 10:09:33 2018 +0200
+++ b/controls/LogViewer.py	Mon Apr 16 11:00:04 2018 +0200
@@ -396,7 +396,7 @@
         self.HasNewData = False
 
     def SetLogSource(self, log_source):
-        self.LogSource = proxy(log_source) if log_source else None
+        self.LogSource = proxy(log_source) if log_source is not None else None
         self.CleanButton.Enable(self.LogSource is not None)
         if log_source is not None:
             self.ResetLogMessages()