Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui2/tfile_dialog: Add support for a filename extension hint
This allows setting a hint in save mode so that the name portion of the filename will be selected whenever the user selects a file with a matching extension on the fileview, and so that whenever the textbox is cleared by code (e.g. when browsing into directories) it is pre-filled with the extension with the cursor at the start. With this, the dialog is now feature-complete compared to the GUI1 version.
- Loading branch information
Showing
2 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters