diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 00:08:41 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 00:12:53 +0100 |
| commit | 04b1e6080d99601b8d6343be3140f545cd8f9eae (patch) | |
| tree | 2180b7d50f2442e5d18a99a87e56def29b02f68e /src/dialogs.rs | |
| parent | ab6492a9f9b8a65121fcf10ff5a44660bd063af1 (diff) | |
Separate concerns
Diffstat (limited to 'src/dialogs.rs')
| -rw-r--r-- | src/dialogs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs.rs b/src/dialogs.rs index cb3f191..6b906ed 100644 --- a/src/dialogs.rs +++ b/src/dialogs.rs @@ -5,12 +5,12 @@ use std::path::PathBuf; use gtk::prelude::*; use relm4::{ComponentSender, gtk}; +use crate::AppModel; use crate::actions::Action; use crate::constants; use crate::file_registry; -use crate::AppModel; -/// Creates a file filter for .wmap files. +/// Creates a file filter for .wmap files in file pickers. pub fn create_file_filter() -> gtk::FileFilter { let filter = gtk::FileFilter::new(); filter.add_pattern(&format!("*.{}", constants::FILE_EXTENSION)); |