--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Tue Apr 04 14:04:59 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Thu Apr 06 09:32:12 2023 +0200 @@ -423,6 +423,9 @@ @param mainMenu reference to the menu to be amended """ + if mainMenu is None: + return + menu = QMenu(self.tr("Version Control")) act = menu.addAction(