Enable and disable application menu items based on the active view
This commit is contained in:
@@ -74,6 +74,8 @@ impl super::ForegroundPlatform for ForegroundPlatform {
|
||||
|
||||
fn on_menu_command(&self, _: Box<dyn FnMut(&dyn Action)>) {}
|
||||
|
||||
fn on_validate_menu_command(&self, _: Box<dyn FnMut(&dyn Action) -> bool>) {}
|
||||
|
||||
fn set_menus(&self, _: Vec<crate::Menu>, _: &keymap::Matcher) {}
|
||||
|
||||
fn prompt_for_paths(
|
||||
|
||||
Reference in New Issue
Block a user