src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
eric7
changeset 11005
b918c6c2736b
parent 10806
2f6df822e3b9
child 11006
a671918232f3
diff -r 5f8d929657b3 -r b918c6c2736b src/eric7/MicroPython/Devices/CircuitPythonDevices.py
--- a/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Oct 25 08:42:57 2024 +0200
+++ b/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Oct 25 09:47:48 2024 +0200
@@ -492,7 +492,7 @@
         """
         from ..UF2FlashDialog import UF2FlashDialog
 
-        dlg = UF2FlashDialog(boardType="circuitpython")
+        dlg = UF2FlashDialog(boardType="circuitpython", parent=self.microPython)
         dlg.exec()
 
     @pyqtSlot()
@@ -559,7 +559,7 @@
         """
         from .EspDevices import flashPythonFirmware
 
-        flashPythonFirmware(self.microPython.getCurrentPort())
+        flashPythonFirmware(self.microPython.getCurrentPort(), parent=self.microPython)
 
     @pyqtSlot()
     def __esp32FlashAddons(self):
@@ -568,7 +568,7 @@
         """
         from .EspDevices import flashAddonFirmware
 
-        flashAddonFirmware(self.microPython.getCurrentPort())
+        flashAddonFirmware(self.microPython.getCurrentPort(), parent=self.microPython)
 
     @pyqtSlot()
     def showCircuitPythonVersions(self):

eric ide

mercurial