--- a/src/eric7/Project/PropertiesDialog.py Sun Nov 06 11:22:39 2022 +0100 +++ b/src/eric7/Project/PropertiesDialog.py Mon Nov 07 17:19:58 2022 +0100 @@ -218,9 +218,9 @@ """ Private slot to display the spelling properties dialog. """ + from .SpellingPropertiesDialog import SpellingPropertiesDialog + if self.spellPropertiesDlg is None: - from .SpellingPropertiesDialog import SpellingPropertiesDialog - self.spellPropertiesDlg = SpellingPropertiesDialog( self.project, self.newProject, self ) @@ -233,9 +233,9 @@ """ Private slot to display the translations properties dialog. """ + from .TranslationPropertiesDialog import TranslationPropertiesDialog + if self.transPropertiesDlg is None: - from .TranslationPropertiesDialog import TranslationPropertiesDialog - self.transPropertiesDlg = TranslationPropertiesDialog( self.project, self.newProject, self ) @@ -250,9 +250,9 @@ """ Private slot to display the make properties dialog. """ + from .MakePropertiesDialog import MakePropertiesDialog + if self.makePropertiesDlg is None: - from .MakePropertiesDialog import MakePropertiesDialog - self.makePropertiesDlg = MakePropertiesDialog( self.project, self.newProject, self ) @@ -291,11 +291,11 @@ """ Private slot to display a vcs information dialog. """ + from eric7.VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog + if self.project.vcs is None: return - from eric7.VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog - info = self.project.vcs.vcsRepositoryInfos(self.project.ppath) dlg = VcsRepositoryInfoDialog(self, info) dlg.exec()