diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index 2dd7a4e..f70a5d2 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -472,7 +472,7 @@ class SettingsWidget(QtWidgets.QWidget): dialog.setDirectory(os.path.dirname(unconverted_docs[0].input_filename)) else: # open the directory where the user last saved it - dialog.setDirectory(self.output_dir) + dialog.setDirectory(self.output_dir) # type: ignore [unreachable] # allow only the selection of directories dialog.setFileMode(QtWidgets.QFileDialog.DirectoryOnly)