mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
ForEach: initialize view query window_type correctly
Before this patch, the window type would be checked even if not actually requested to do so. Fixes: #1852
This commit is contained in:
parent
95e4c0d8d7
commit
6f3f2aae27
3 changed files with 16 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ fill_action_query(char *nodename, char *content, struct action *action)
|
|||
action_arg_add_querylist(action, "query");
|
||||
queries = action_get_querylist(action, "query");
|
||||
}
|
||||
current_view_query = znew(*current_view_query);
|
||||
current_view_query = view_query_create();
|
||||
wl_list_append(queries, ¤t_view_query->link);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue