Remove fallback parameter for lastPath and remove commented out code

This commit is contained in:
Veronica Berglyd Olsen
2024-06-16 11:23:42 +02:00
parent 1b7d331e41
commit a3381f1f79
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ class GuiWelcome(NDialog):
@pyqtSlot()
def _browseForProject(self) -> None:
"""Browse for a project to open."""
if path := SHARED.getProjectPath(self, path=CONFIG.lastPath("project"), allowZip=False):
if path := SHARED.getProjectPath(self, path=CONFIG.homePath(), allowZip=False):
self._openProjectPath(path)
return