Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_widgets.py @ 1310:9ca93ecdeea5 frontends_multi_profiles
quick_frontend: fixes hash setting for QuickWidget
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 06 Feb 2015 22:28:00 +0100 |
parents | d0d5ba3b4d64 |
children | 9e904f8a094e |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_widgets.py Fri Feb 06 20:46:14 2015 +0100 +++ b/frontends/src/quick_frontend/quick_widgets.py Fri Feb 06 22:28:00 2015 +0100 @@ -195,7 +195,7 @@ new_kwargs['on_existing_widget'] = C.WIDGET_RAISE hash_idx = 1 while True: - new_kwargs['force_hash'] = hash_ + "_new_instance_{}".format(hash_idx) + new_kwargs['force_hash'] = "{}_new_instance_{}".format(hash_, hash_idx) try: widget = self.getOrCreateWidget(class_, target, *args, **new_kwargs) except WidgetAlreadyExistsError: