mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Error out when a PopupWindow is in a if
or for
instead of panicking We need to mve stuff in the parent element and that doesn't work if it is a repeated element. Also there would not be ways to call show on it anyway. Fixes #1079
This commit is contained in:
parent
eb9092ba15
commit
6c7a7aed0e
4 changed files with 24 additions and 2 deletions
|
@ -116,8 +116,8 @@ pub async fn run_passes(
|
|||
.chain(std::iter::once(root_component))
|
||||
{
|
||||
flickable::handle_flickable(component, &global_type_registry.borrow());
|
||||
repeater_component::process_repeater_components(component);
|
||||
lower_popups::lower_popups(component, &doc.local_registry, diag);
|
||||
repeater_component::process_repeater_components(component);
|
||||
lower_layout::lower_layouts(component, type_loader, diag).await;
|
||||
default_geometry::default_geometry(component, diag);
|
||||
z_order::reorder_by_z_order(component, diag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue