- some fixes in remembering the last save location and last open location

This commit is contained in:
Marius Stanciu
2022-02-22 15:16:03 +02:00
committed by Marius
parent 0d62c291ea
commit 1df2570668
9 changed files with 29 additions and 28 deletions

View File

@@ -253,7 +253,7 @@ class AppTextEditor(QtWidgets.QWidget):
try:
filename = str(FCFileSaveDialog.get_saved_filename(
caption=_("Export Code ..."),
directory=self.app.options["global_last_folder"] + '/' + str(obj_name),
directory=self.app.defaults["global_last_folder"] + '/' + str(obj_name),
ext_filter=_filter_
)[0])
except TypeError: