This commit is contained in:
Ashley Wulber 2022-01-06 17:30:13 -05:00
parent 26cdc8f0cc
commit 594b085c83
4 changed files with 25 additions and 20 deletions

View file

@ -42,10 +42,12 @@ impl DockPopover {
}
pub fn update_layout(&self) {
self.reset_menu();
// build menu
let imp = imp::DockPopover::from_instance(&self);
let dock_object = imp.dock_object.borrow();
let menu_handle = imp.menu_handle.borrow();
// build menu
if let Some(dock_object) = dock_object.as_ref() {
cascade! {
&self;