Implemented a fix for opening a projet with an unknown programming language. eric7

Fri, 01 Oct 2021 17:08:37 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 01 Oct 2021 17:08:37 +0200
branch
eric7
changeset 8658
b4f65a41c393
parent 8656
8fbaa183c41e
child 8659
0e58d3367e92

Implemented a fix for opening a projet with an unknown programming language.
(grafted from 1acee0c15156b25a95b9a853bf1491634f0bb383)

eric7/Project/ProjectSourcesBrowser.py file | annotate | diff | comparison | revisions
--- a/eric7/Project/ProjectSourcesBrowser.py	Wed Sep 29 17:14:24 2021 +0200
+++ b/eric7/Project/ProjectSourcesBrowser.py	Fri Oct 01 17:08:37 2021 +0200
@@ -107,6 +107,9 @@
             self.__createRubyPopupMenus()
         elif self.project.isJavaScriptProject():
             self.__createJavaScriptPopupMenus()
+        else:
+            # assign generic source menu
+            self.mainMenu = self.sourceMenu
         
     def __createPythonPopupMenus(self):
         """

eric ide

mercurial