Skip to content

Commit e63e203

Browse files
committed
Show accessible device classes in combobox
This is a tiny bug and was fixed because @haufs and @boukhele need it to add their run configuration devices to a project
2 parents 4d1e026 + 2b22349 commit e63e203

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pythonGui/karabo_gui/project/dialog/device_handle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def visitor(node):
114114
for class_id, visibility in zip(attrs.get('deviceClasses', []),
115115
attrs.get('visibilities', [])):
116116
# Only show accessible plugins depending on global access level
117-
if AccessLevel(visibility) >= krb_globals.GLOBAL_ACCESS_LEVEL:
117+
if AccessLevel(visibility) > krb_globals.GLOBAL_ACCESS_LEVEL:
118118
continue
119119
available_plugins.add(class_id)
120120

0 commit comments

Comments
 (0)