--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Wed Apr 05 12:05:06 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(