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

Set a default file extension when saving files without an extension. #26950

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

embarc-gabriel
Copy link
Contributor

@embarc-gabriel embarc-gabriel commented Mar 6, 2025

Resolves: Audacity 8166

On Linux if you try to save a preset using some filename without extension a default one is not added.
The proposed modification just retrieves the "default" file extension from the first item on the file dialog filter list and append it to the filename if no extension was previously added.

  • I signed the CLA
  • The title of the PR describes the problem it addresses
  • Each commit's message describes its purpose and effects, and references the issue it resolves
  • If changes are extensive, there is a sequence of easily reviewable commits
  • The code in the PR follows the coding rules
  • There are no unnecessary changes
  • The code compiles and runs on my machine, preferably after each commit individually
  • I created a unit test or vtest to verify the changes I made (if applicable)

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.

Native Ubuntu File Picker Does Not Show Exported Presets
2 participants