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

Track last open directory for FileChooser per project #85

Merged
merged 3 commits into from
Jul 24, 2022

Conversation

JamesTKhan
Copy link
Owner

Extends FileChooser and makes Preferences manager a bit more reusable. Now there is a global preferences and a project preferences file. Project preferences file will now store last opened directory from a file chooser. On project loading that directory is read from preferences and applied. Projects preferences manager lives within project context

FileChooser.setDefaultPrefsName was also moved as it was not being called before file chooser initialization and thus the preferences key was not being used.

@JamesTKhan JamesTKhan linked an issue Jul 19, 2022 that may be closed by this pull request
@JamesTKhan JamesTKhan merged commit c99cfea into master Jul 24, 2022
@JamesTKhan JamesTKhan deleted the last-open-dir branch July 24, 2022 00:34
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.

Save last open directory
1 participant