Replace WindowContext::notify with WindowContext::refresh

This commit is contained in:
Antonio Scandurra 2024-01-10 17:27:02 +01:00
parent d0c101cb6e
commit 2923b71f83
11 changed files with 35 additions and 30 deletions

View file

@ -55,7 +55,7 @@ impl<M: ManagedView> PopoverMenu<M> {
}
}
*menu2.borrow_mut() = None;
cx.notify();
cx.refresh();
})
.detach();
cx.focus_view(&new_menu);