mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Pass reused
parameter to Presenter::dispatch_event
for status items
This commit is contained in:
parent
11d47f5c72
commit
a34eaa3606
1 changed files with 1 additions and 1 deletions
|
@ -2027,7 +2027,7 @@ impl MutableAppContext {
|
|||
status_item.on_event(Box::new(move |event| {
|
||||
app.update(|cx| {
|
||||
if let Some(presenter) = presenter.upgrade() {
|
||||
presenter.borrow_mut().dispatch_event(event, cx)
|
||||
presenter.borrow_mut().dispatch_event(event, false, cx)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue