--- a/src/eric7/MicroPython/MicroPythonWidget.py Fri Oct 25 09:47:48 2024 +0200 +++ b/src/eric7/MicroPython/MicroPythonWidget.py Fri Oct 25 17:58:59 2024 +0200 @@ -1487,6 +1487,7 @@ title, monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), encoding=Preferences.getSystem("IOEncoding"), + parent=self, ) res = dlg.startProcess(program, compileArgs) if res: @@ -1610,6 +1611,7 @@ title=self.tr("Add Unknown Devices"), message=self.tr("Select the devices to be added:"), checkBoxSelection=True, + parent=self, ) if sdlg.exec() == QDialog.DialogCode.Accepted: selectedDevices = sdlg.getSelection()