diff -r 5f8d929657b3 -r b918c6c2736b src/eric7/MicroPython/Devices/RP2Devices.py --- 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: