improve window_manager_back_to

This commit is contained in:
lixianjing 2024-01-09 17:51:45 +08:00
parent d67ecaa103
commit d3cab268f7

View File

@ -94,6 +94,9 @@ static ret_t window_manager_back_to_win_sync(widget_t* widget, widget_t* target)
}
} else {
if (!widget_is_system_bar(iter)) {
if (widget_is_dialog(iter) && DIALOG(iter)->quited) {
continue;
}
darray_push(&wins, iter);
}
}