src/eric7/MicroPython/Devices/RP2Devices.py

branch
eric7
changeset 11005
b918c6c2736b
parent 10897
caba0e2456b6
child 11034
7b8a21fd2d58
--- a/src/eric7/MicroPython/Devices/RP2Devices.py	Fri Oct 25 08:42:57 2024 +0200
+++ b/src/eric7/MicroPython/Devices/RP2Devices.py	Fri Oct 25 09:47:48 2024 +0200
@@ -230,7 +230,7 @@
         """
         from ..UF2FlashDialog import UF2FlashDialog
 
-        dlg = UF2FlashDialog(boardType="rp2")
+        dlg = UF2FlashDialog(boardType="rp2", parent=self.microPython)
         dlg.exec()
 
     @pyqtSlot()
@@ -1409,7 +1409,7 @@
         """
         from ..WifiDialogs.WifiCountryDialog import WifiCountryDialog
 
-        dlg = WifiCountryDialog()
+        dlg = WifiCountryDialog(parent=self.microPython)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             country, remember = dlg.getCountry()
             if remember:

eric ide

mercurial