PyLintInterface/PyLintConfigDialog.py

branch
eric7
changeset 117
f8955e5dba87
parent 116
71d3a2e48265
child 119
ebb5306aeb60
--- a/PyLintInterface/PyLintConfigDialog.py	Sat Dec 23 16:06:01 2023 +0100
+++ b/PyLintInterface/PyLintConfigDialog.py	Tue Oct 29 17:23:21 2024 +0100
@@ -26,7 +26,7 @@
     Class implementing a dialog to configure the PyLint process.
     """
 
-    def __init__(self, ppath, exe, parms, version):
+    def __init__(self, ppath, exe, parms, version, parent=None):
         """
         Constructor
 
@@ -39,8 +39,10 @@
         @type dict
         @param version pylint version (unused)
         @type str
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget
         """
-        super().__init__(None)
+        super().__init__(parent=parent)
         self.setupUi(self)
 
         self.__version = version

eric ide

mercurial