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 |