Fix update passing wrong Tree to content in pop widget

This commit is contained in:
Héctor Ramón Jiménez 2025-01-26 21:13:57 +01:00
parent 1dccd1e71f
commit 24905ebd5d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -127,7 +127,14 @@ where
}
self.content.as_widget_mut().update(
tree, event, layout, cursor, renderer, clipboard, shell, viewport,
&mut tree.children[0],
event,
layout,
cursor,
renderer,
clipboard,
shell,
viewport,
);
}