widgets/editor.py -> abspath to absolute

This commit is contained in:
jdegenstein
2024-08-22 12:34:12 -05:00
committed by GitHub
parent 7f01d73f54
commit 5d8f651f97

View File

@@ -147,7 +147,7 @@ class Editor(CodeEditor,ComponentMixin):
if not self.confirm_discard(): return
curr_dir = Path(self.filename).abspath().dirname()
curr_dir = Path(self.filename).absolute().dirname()
fname = get_open_filename(self.EXTENSIONS, curr_dir)
if fname != '':
self.load_from_file(fname)