File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " tauri " : patch
3
+ ---
4
+
5
+ Fixes the ` title ` option being ignored in the dialog API endpoints.
Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ impl Cmd {
95
95
{
96
96
dialog_builder = dialog_builder. set_parent ( & context. window ) ;
97
97
}
98
+ if let Some ( title) = options. title {
99
+ dialog_builder = dialog_builder. set_title ( & title) ;
100
+ }
98
101
if let Some ( default_path) = options. default_path {
99
102
dialog_builder = set_default_path ( dialog_builder, default_path) ;
100
103
}
@@ -143,6 +146,9 @@ impl Cmd {
143
146
{
144
147
dialog_builder = dialog_builder. set_parent ( & context. window ) ;
145
148
}
149
+ if let Some ( title) = options. title {
150
+ dialog_builder = dialog_builder. set_title ( & title) ;
151
+ }
146
152
if let Some ( default_path) = options. default_path {
147
153
dialog_builder = set_default_path ( dialog_builder, default_path) ;
148
154
}
You can’t perform that action at this time.
0 commit comments