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

Mon, 27 Feb 2023 11:18:32 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 27 Feb 2023 11:18:32 +0100
branch
eric7
changeset 9807
a87b1479b107
parent 9806
8b375fdd78f1
child 9812
cf625a86a861

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 17:57:08 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonWidget.py	Mon Feb 27 11:18:32 2023 +0100
@@ -707,6 +707,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