quick_frontend: fixes hash setting for QuickWidget
This commit is contained in:
parent
fcfe8c8517
commit
b1ab06ba6a
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class QuickWidgetsManager(object):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue