edit predictions: Disable "This Buffer" option when disabled for language (#25566)
 Release Notes: - edit prediction: Disable "This Buffer" option when predictions are disabled for its language
This commit is contained in:
@@ -95,8 +95,8 @@ impl ContextMenuEntry {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn action(mut self, action: Option<Box<dyn Action>>) -> Self {
|
||||
self.action = action;
|
||||
pub fn action(mut self, action: Box<dyn Action>) -> Self {
|
||||
self.action = Some(action);
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user