Skip to content

Commit c6a2416

Browse files
committed
[IDB Import] Fix file dialog filter separating out each extension
Caused the resulting dialog to have a drop down that you must select to get to *.i64, which is an extra unneeded step
1 parent 7a4114b commit c6a2416

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/idb_import/src/commands/load_file.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ impl Command for LoadIDBFile {
1515
let mut form = Form::new("Load IDB File");
1616
let mut default_path = PathBuf::from(&view.file().file_path());
1717
default_path.set_extension("idb");
18-
let file_field =
19-
LoadFileField::with_default("*.idb;;*.i64;;*.til", &default_path.to_string_lossy());
18+
let file_field = LoadFileField::with_default(
19+
"IDA Files (*.idb *.i64 *.til)",
20+
&default_path.to_string_lossy(),
21+
);
2022
form.add_field(file_field.field());
2123
if !form.prompt() {
2224
return;

0 commit comments

Comments
 (0)