src/eric7/MicroPython/EthernetDialogs/EthernetController.py

branch
eric7
changeset 11005
b918c6c2736b
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r 5f8d929657b3 -r b918c6c2736b src/eric7/MicroPython/EthernetDialogs/EthernetController.py
--- 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:

eric ide

mercurial