quick_frontend (widgets): fixed crash on getWidgets when target doesn't correspond to any widget
This commit is contained in:
parent
30bf1362bb
commit
34207a8969
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class QuickWidgetsManager(object):
|
|||
else:
|
||||
filter_hash = None
|
||||
if filter_hash is not None:
|
||||
for widget in widgets_map[filter_hash]:
|
||||
for widget in widgets_map.get(filter_hash, []):
|
||||
yield widget
|
||||
else:
|
||||
for widget_instances in widgets_map.itervalues():
|
||||
|
|
|
|||
Loading…
Reference in a new issue