Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added default path functionality for open and save-as dialogues #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdrwtf
Copy link

@sdrwtf sdrwtf commented Jul 14, 2021

I found it a bit annoying that the Open and Save-As dialog always starts in the Left install directory, I don't think that is where most people will put their files. So I implemented a small function which sets the default path for the dialog if possible.

The idea is that it is likely that a page that is to be opened is probably located near an already opened page in the file system, vice versa a new page that is to be saved will probably be stored near an already saved page.

I tested this on a Linux system, unfortunately I have no way to test it on OSX or Windows at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant