import_dialog: Do not show hidden files in the FileChooser.
This commit is contained in:
parent
b95e70a8c4
commit
97eef9149c
@ -246,6 +246,9 @@ fn on_import_clicked(window: >k::Window, sender: &Sender<Action>) {
|
||||
],
|
||||
);
|
||||
|
||||
// Do not show hidden(.thing) files
|
||||
dialog.set_show_hidden(false);
|
||||
|
||||
// Set a filter to show only xml files
|
||||
let filter = FileFilter::new();
|
||||
FileFilterExt::set_name(&filter, Some("OPML file"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user