Make GuiDestinationOption Folder Icon start in users directory (#979)

Fixes #10917
This commit is contained in:
Paul Culley 2020-01-09 12:00:29 -06:00 committed by GitHub
parent 672603c8ae
commit 7807ff8a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1756,7 +1756,8 @@ class GuiDestinationOption(Gtk.Box):
name = get_curr_dir
fcd.set_current_folder(name)
else:
fcd.set_current_name(name)
fcd.set_current_name(os.path.basename(name))
fcd.set_current_folder(os.path.dirname(name))
status = fcd.run()
if status == Gtk.ResponseType.OK: