We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ed4df7 + bb55666 commit a0e1283Copy full SHA for a0e1283
src/main_window.py
@@ -54,6 +54,7 @@ def __init__(self):
54
self.serial_port_thread = None
55
self.serial_port = None
56
self.port = None
57
+ self.output_editor = None
58
self.baudrate = 115200
59
self.baudrate_values = [
60
110,
@@ -529,6 +530,9 @@ def __reopen_serial_port__(self):
529
530
# if auto clear plot is enabled, clear the plot
531
if self.auto_clear_plot_on_header_change:
532
self.__clear_plot__()
533
+ if self.output_editor:
534
+ # and also clear the output editor
535
+ self.output_editor.clear()
536
537
# start a thread to open and read from the serial port
538
self.serial_port_thread = threading.Thread(target = self.__read_serial_port__)
0 commit comments