This commit is contained in:
Antonio Scandurra 2022-03-22 13:35:37 +01:00
parent 381c82714b
commit 284a446be7
2 changed files with 25 additions and 3 deletions

View file

@ -396,8 +396,10 @@ impl Pane {
cx.emit(Event::ActivateItem { local });
}
self.update_active_toolbar(cx);
self.focus_active_item(cx);
self.activate(cx);
if local {
self.focus_active_item(cx);
self.activate(cx);
}
cx.notify();
}
}