Added a line to clear the MicroPython OSD info whenn connecting or disconnecting a device. mpy_network

Mon, 27 Feb 2023 11:20:50 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 27 Feb 2023 11:20:50 +0100
branch
mpy_network
changeset 9811
d6212cee3186
parent 9810
39d3b227358c
child 9814
1445ca4be40d

Added a line to clear the MicroPython OSD info whenn connecting or disconnecting a device.

src/eric7/MicroPython/MicroPythonWidget.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/MicroPythonWidget.py	Sun Feb 26 18:04:56 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonWidget.py	Mon Feb 27 11:20:50 2023 +0100
@@ -714,6 +714,7 @@
         Private slot to connect to the selected device or disconnect from the
         currently connected device.
         """
+        self.__osdLabel.clear()
         if self.__linkConnected:
             with EricOverrideCursor():
                 self.__disconnectFromDevice()

eric ide

mercurial