Mercurial > libervia-desktop-kivy
comparison cagou/core/common.py @ 355:8b6621cc142c
core (widgets handler): clear widgets when WHWrapper is detached:
when WHWrapper is detached from parent, we call clear_widgets to detach children. This
avoid CagouWidget.whwrapper to lead to this now unused wrapper (this was causing a bug
when testing if a widget is attached and could be re-used, leading to the unnecessary
creation of new widgets).
Added ignore_missing when removing current_slide from visible widgets, to avoid error
logging if wrapper was not active.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Jan 2020 20:33:43 +0100 |
parents | 38fd457b2158 |
children | 4d660b252487 |
comparison
equal
deleted
inserted
replaced
354:aa860c10acfc | 355:8b6621cc142c |
---|