mirror of
https://github.com/vrc-get/vrc-get.git
synced 2026-06-21 09:58:08 +00:00
Merge pull request #2846 from vrc-get/copilot/fix-template-export-extension-issue
Fix missing file extensions in save dialog default names
This commit is contained in:
commit
be5c9aa765
3 changed files with 5 additions and 2 deletions
|
|
@ -48,6 +48,9 @@ The format is based on [Keep a Changelog].
|
|||
- Panic when resolving projects where dependency packages depend on newer versions of locked packages `#2822`
|
||||
- Missing glibc and libgcc_s dependency notation in .deb / .rpm distributon `#2828`
|
||||
- Unclear error message for invalid version name or version range `#2842`
|
||||
- Default file names in save dialogs now include the appropriate file extension `#2846`
|
||||
- Template export now defaults to `{template name}.alcomtemplate`
|
||||
- Repository list export now defaults to `repositories.txt`
|
||||
|
||||
### Security
|
||||
|
||||
|
|
|
|||
|
|
@ -537,7 +537,7 @@ pub async fn environment_export_repositories(
|
|||
.file()
|
||||
.set_parent(&window)
|
||||
.add_filter("Text", &["txt"])
|
||||
.set_file_name("repositories")
|
||||
.set_file_name("repositories.txt")
|
||||
.blocking_save_file()
|
||||
.map(|x| x.into_path_buf())
|
||||
.transpose()?
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ pub async fn environment_export_template(
|
|||
.dialog()
|
||||
.file()
|
||||
.set_parent(&window)
|
||||
.set_file_name(&template.display_name)
|
||||
.set_file_name(format!("{}.alcomtemplate", &template.display_name))
|
||||
.add_filter("ALCOM Project Template", &["alcomtemplate"])
|
||||
.blocking_save_file()
|
||||
.map(|x| x.into_path_buf())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue