--- 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.