src/eric7/Project/NewDialogClassDialog.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10430
e440aaf179ce
--- a/src/eric7/Project/NewDialogClassDialog.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Project/NewDialogClassDialog.py	Thu May 25 19:51:47 2023 +0200
@@ -9,6 +9,7 @@
 
 import os
 
+from PyQt6.QtCore import pyqtSlot
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
 
 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes
@@ -55,6 +56,7 @@
             and self.pathnamePicker.text() != ""
         )
 
+    @pyqtSlot(str)
     def on_classnameEdit_textChanged(self, text):
         """
         Private slot called, when thext of the classname edit has changed.
@@ -63,6 +65,7 @@
         """
         self.__enableOkButton()
 
+    @pyqtSlot(str)
     def on_filenameEdit_textChanged(self, text):
         """
         Private slot called, when thext of the filename edit has changed.
@@ -71,6 +74,7 @@
         """
         self.__enableOkButton()
 
+    @pyqtSlot(str)
     def on_pathnamePicker_textChanged(self, text):
         """
         Private slot called, when the text of the path name has changed.

eric ide

mercurial