diff --git a/src/View/Geometry/Window.py b/src/View/Geometry/Window.py index 1a621808a1336e486a3a6dca64bd751ad1aecf95..6c24b22e4a70f3c23d0b1d8af2d7d2f51dd0dc9f 100644 --- a/src/View/Geometry/Window.py +++ b/src/View/Geometry/Window.py @@ -623,7 +623,7 @@ class GeometryWindow(PamhyrWindow): QSettings.UserScope, 'MyOrg' ) - if self._study.filename != "" or self._study.filename is not None: + if self._study.filename != "" and self._study.filename is not None: default_directory = os.path.basename(self._study.filename) current_dir = settings.value( 'current_directory',