--- a/src/eric7/MicroPython/EthernetDialogs/EthernetController.py Fri Oct 25 08:42:57 2024 +0200 +++ b/src/eric7/MicroPython/EthernetDialogs/EthernetController.py Fri Oct 25 09:47:48 2024 +0200 @@ -86,7 +86,7 @@ status = self.__mpy.getDevice().getEthernetStatus() # status is a list of user labels and associated values - dlg = EthernetStatusDialog(status, self.__mpy) + dlg = EthernetStatusDialog(status, parent=self.__mpy) dlg.exec() except Exception as exc: self.__mpy.showError("getEthernetStatus()", str(exc)) @@ -98,7 +98,7 @@ """ from .HostnameDialog import HostnameDialog - dlg = HostnameDialog(self.__mpy) + dlg = HostnameDialog(parent=self.__mpy) hostname = ( dlg.getHostname() if dlg.exec() == QDialog.DialogCode.Accepted else "" ) @@ -342,7 +342,7 @@ ) return - dlg = NtpParametersDialog(self.__mpy) + dlg = NtpParametersDialog(parent=self.__mpy) if dlg.exec() == QDialog.DialogCode.Accepted: server, tzOffset, isDst, timeout = dlg.getParameters() if isDst: