From bbda2672f57de2f432222cf64b47f1f2631d3df7 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 6 Oct 2025 19:06:44 -0400 Subject: [Rust] Fix save file dialog not respecting default file path Fixes https://github.com/Vector35/binaryninja-api/issues/7268 --- plugins/dwarf/dwarf_export/src/lib.rs | 1 - plugins/warp/src/plugin/create.rs | 1 - 2 files changed, 2 deletions(-) (limited to 'plugins') diff --git a/plugins/dwarf/dwarf_export/src/lib.rs b/plugins/dwarf/dwarf_export/src/lib.rs index 00a6175f..d1ac45ab 100644 --- a/plugins/dwarf/dwarf_export/src/lib.rs +++ b/plugins/dwarf/dwarf_export/src/lib.rs @@ -632,7 +632,6 @@ fn create_export_form(bv_arch: &str) -> Form { form.add_field(FormInputField::SaveFileName { prompt: "Save Location".to_string(), extension: Some("Debug Files (*.dwo *.debug);;All Files (*)".to_string()), - default_name: None, default: None, value: None, }); diff --git a/plugins/warp/src/plugin/create.rs b/plugins/warp/src/plugin/create.rs index c9bd32ce..d6839ce6 100644 --- a/plugins/warp/src/plugin/create.rs +++ b/plugins/warp/src/plugin/create.rs @@ -37,7 +37,6 @@ impl SaveFileField { prompt: "File Path".to_string(), // TODO: This is called extension but is really a filter. extension: Some("*.warp".to_string()), - default_name: Some(default_name), default: Some(default_file_path.to_string_lossy().to_string()), value: None, } -- cgit v1.3.1