From 1b684d2dba91f497506bf0d3950513607eab8d0e Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 10 Feb 2015 19:08:01 +0100 Subject: [PATCH] quick frontends (quick widgets): doesn't force anymore "on_new_widget" to None for on_existing_widget=C.WIDGET_RECREATE: the original behaviour for on_new_widget need to be kept --- frontends/src/quick_frontend/quick_widgets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frontends/src/quick_frontend/quick_widgets.py b/frontends/src/quick_frontend/quick_widgets.py index cb9c74d0..aac9f09b 100644 --- a/frontends/src/quick_frontend/quick_widgets.py +++ b/frontends/src/quick_frontend/quick_widgets.py @@ -195,7 +195,6 @@ class QuickWidgetsManager(object): raise ValueError("force_hash option can't be used with on_existing_widget=RECREATE") # XXX: keep up-to-date if new special kwargs are added (i.e.: delete these keys here) - new_kwargs['on_new_widget'] = None new_kwargs['on_existing_widget'] = C.WIDGET_RAISE hash_idx = 1 while True: