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.
--- 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()