Skip to content

QtFRED better file dialog handling#7364

Merged
wookieejedi merged 3 commits intoscp-fs2open:masterfrom
MjnMixael:qtfred-file-dialogs
Apr 12, 2026
Merged

QtFRED better file dialog handling#7364
wookieejedi merged 3 commits intoscp-fs2open:masterfrom
MjnMixael:qtfred-file-dialogs

Conversation

@MjnMixael
Copy link
Copy Markdown
Contributor

Creates a util for QtFRED's file open/save handling that both starts in a proper default location based on what we're loading/saving and stores the last used directory for that action in QSettings so that the action always loads back to the most recent directory used.

Fixes #3097

@MjnMixael MjnMixael force-pushed the qtfred-file-dialogs branch from 2e773fc to 79694c6 Compare April 10, 2026 15:36
@MjnMixael MjnMixael force-pushed the qtfred-file-dialogs branch from 79694c6 to a8e685e Compare April 11, 2026 15:47
@wookieejedi wookieejedi added cleanup A modification or rewrite of code to make it more understandable or easier to maintain. qtfred A feature or issue related to qtFred. labels Apr 11, 2026
@github-project-automation github-project-automation bot moved this to Work In Progress (PRs) in qtFRED2 Apr 11, 2026
Copy link
Copy Markdown
Member

@wookieejedi wookieejedi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After updates all looks good

@github-project-automation github-project-automation bot moved this from Work In Progress (PRs) to In Review (PRs) in qtFRED2 Apr 11, 2026
@wookieejedi wookieejedi merged commit 243dc92 into scp-fs2open:master Apr 12, 2026
20 checks passed
@github-project-automation github-project-automation bot moved this from In Review (PRs) to Done in qtFRED2 Apr 12, 2026
@MjnMixael MjnMixael deleted the qtfred-file-dialogs branch April 12, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup A modification or rewrite of code to make it more understandable or easier to maintain. qtfred A feature or issue related to qtFred.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

FR: QtFRED should remember directories contextually and based on file types required.

2 participants