quick_frontend (QuickWidget): keep on_new_widget argument when recreating a widget
This commit is contained in:
parent
93f2d8d948
commit
becdbf205a
1 changed files with 2 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ class QuickWidgetsManager(object):
|
||||||
else:
|
else:
|
||||||
raise ValueError("force_hash option can't be used with on_existing_widget=RECREATE")
|
raise ValueError("force_hash option can't be used with on_existing_widget=RECREATE")
|
||||||
|
|
||||||
|
new_kwargs['on_new_widget'] = on_new_widget
|
||||||
|
|
||||||
# XXX: keep up-to-date if new special kwargs are added (i.e.: delete these keys here)
|
# XXX: keep up-to-date if new special kwargs are added (i.e.: delete these keys here)
|
||||||
new_kwargs['on_existing_widget'] = C.WIDGET_RAISE
|
new_kwargs['on_existing_widget'] = C.WIDGET_RAISE
|
||||||
hash_idx = 1
|
hash_idx = 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue