File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 {
9595 {
9696 dialog_builder = dialog_builder. set_parent ( & context. window ) ;
9797 }
98+ if let Some ( title) = options. title {
99+ dialog_builder = dialog_builder. set_title ( & title) ;
100+ }
98101 if let Some ( default_path) = options. default_path {
99102 dialog_builder = set_default_path ( dialog_builder, default_path) ;
100103 }
@@ -143,6 +146,9 @@ impl Cmd {
143146 {
144147 dialog_builder = dialog_builder. set_parent ( & context. window ) ;
145148 }
149+ if let Some ( title) = options. title {
150+ dialog_builder = dialog_builder. set_title ( & title) ;
151+ }
146152 if let Some ( default_path) = options. default_path {
147153 dialog_builder = set_default_path ( dialog_builder, default_path) ;
148154 }
You can’t perform that action at this time.
0 commit comments