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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 01 Oct 2021 17:08:37 +0200
changeset 8657
1acee0c15156
parent 8560
532068b0edb4
child 8661
1dc0a266d5f5

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

eric6/Project/ProjectSourcesBrowser.py file | annotate | diff | comparison | revisions
--- a/eric6/Project/ProjectSourcesBrowser.py	Mon Aug 30 18:36:05 2021 +0200
+++ b/eric6/Project/ProjectSourcesBrowser.py	Fri Oct 01 17:08:37 2021 +0200
@@ -106,6 +106,9 @@
             self.__createRubyPopupMenus()
         elif self.project.isJavaScriptProject():
             self.__createJavaScriptPopupMenus()
+        else:
+            # assign generic source menu
+            self.mainMenu = self.sourceMenu
         
     def __createPythonPopupMenus(self):
         """

eric ide

mercurial