src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py

branch
eric7
changeset 11034
7b8a21fd2d58
parent 10806
2f6df822e3b9
child 11090
f5f5f5803935
--- a/src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py	Sun Nov 03 12:34:02 2024 +0100
+++ b/src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py	Sun Nov 03 17:50:34 2024 +0100
@@ -264,7 +264,7 @@
         if self.microPython.isConnected():
             if self._deviceData["mpy_name"] != "micropython":
                 EricMessageBox.critical(
-                    None,
+                    self.microPython,
                     self.tr("Show MicroPython Versions"),
                     self.tr(
                         """The firmware of the connected device cannot be"""
@@ -326,7 +326,7 @@
             msg += self.tr("<p><b>Update available!</b></p>")
 
         EricMessageBox.information(
-            None,
+            self.microPython,
             self.tr("MicroPython Version"),
             msg,
         )

eric ide

mercurial