src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py

branch
eric7
changeset 9973
d537cba05d38
parent 9653
e67609152c5e
child 10069
435cc5875135
--- 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(

eric ide

mercurial