-
Notifications
You must be signed in to change notification settings - Fork 99
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
Automatically add extension for save file #43
Comments
I'm sure you figured this out quickly, so I'm writing this just for posterity. The result of the file Save/Open dialogs are file paths. So, if you want to automatically add an extension to filenames, that's as simple as checking the end of the received filename for the extension, and append it, if it doesn't already have it. |
First of all, thanks @samhocevar for this library. Very useful. As you said, it's straighforward to add the extension to the file name. However, there are two issues:
I can look into this and do a pull request if you wish? |
Hi
is there the chance to add the option to automatically add the extesion for the save file dialog? I have looked throught the API but I am not able to find if this is already implemented or not.
Alberto
The text was updated successfully, but these errors were encountered: