Fix: remove context actions from open/save dialog

This commit is contained in:
darkfated 2026-04-10 02:58:20 +03:00
parent 39281a6336
commit ad0e66dceb
2 changed files with 3 additions and 56 deletions

View file

@ -70,10 +70,6 @@ impl ContextActionPreset {
}
}
pub fn action_name(actions: &[ContextActionPreset], action: usize) -> Option<String> {
actions.get(action).map(|preset| preset.name.clone())
}
pub fn run(actions: &[ContextActionPreset], action: usize, paths: &[PathBuf]) {
if let Some(preset) = actions.get(action) {
preset.run(paths);