Fix: remove context actions from open/save dialog
This commit is contained in:
parent
39281a6336
commit
ad0e66dceb
2 changed files with 3 additions and 56 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue