Add coverage of some missed lines

This commit is contained in:
Veronica Berglyd Olsen
2023-12-30 16:52:24 +01:00
parent bc17305c4f
commit 05e9729c22
5 changed files with 20 additions and 12 deletions
+2 -1
View File
@@ -189,7 +189,8 @@ class GuiWelcome(QDialog):
@pyqtSlot()
def _browseForProject(self) -> None:
"""Browse for a project to open."""
if path := SHARED.getProjectPath(self, allowZip=False):
if path := SHARED.getProjectPath(self, path=CONFIG.lastPath(), allowZip=False):
CONFIG.setLastPath(path)
self._openProjectPath(path)
return