ViewManager/ViewManager.py

changeset 1939
eadb2328d7d4
parent 1754
4e2f87d03546
child 1940
324e43e29b41
equal deleted inserted replaced
1936:536b88d73d53 1939:eadb2328d7d4
5505 # check, if there is an active project and return its path 5505 # check, if there is an active project and return its path
5506 elif e5App().getObject("Project").isOpen(): 5506 elif e5App().getObject("Project").isOpen():
5507 return e5App().getObject("Project").ppath 5507 return e5App().getObject("Project").ppath
5508 5508
5509 else: 5509 else:
5510 # None will cause open dialog to start with cwd 5510 return Preferences.getMultiProject("Workspace")
5511 return ""
5512 5511
5513 def _getOpenFileFilter(self): 5512 def _getOpenFileFilter(self):
5514 """ 5513 """
5515 Protected method to return the active filename filter for a file open dialog. 5514 Protected method to return the active filename filter for a file open dialog.
5516 5515

eric ide

mercurial