quick frontend(quick widgets): fixed bad condition test in previous commit
This commit is contained in:
parent
95faddd84c
commit
fcfe8c8517
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class QuickWidgetsManager(object):
|
|||
# the widget already exists
|
||||
if on_existing_widget == C.WIDGET_KEEP:
|
||||
pass
|
||||
if on_existing_widget == C.WIDGET_RAISE:
|
||||
elif on_existing_widget == C.WIDGET_RAISE:
|
||||
raise WidgetAlreadyExistsError(hash_)
|
||||
elif on_existing_widget == C.WIDGET_RECREATE:
|
||||
# we use getOrCreateWidget to recreate the new widget
|
||||
|
|
|
|||
Loading…
Reference in a new issue