diff --git a/artiq/dashboard/applets_ccb.py b/artiq/dashboard/applets_ccb.py index 0f2c50fc8..791c497bb 100644 --- a/artiq/dashboard/applets_ccb.py +++ b/artiq/dashboard/applets_ccb.py @@ -110,7 +110,7 @@ class AppletsCCBDock(applets.AppletsDock): for i in range(parent.childCount()): child = parent.child(i) if child.ty == "group" and child.text(0) == g: - c_ccbp = self.table.itemWidget(child, 1).text() + c_ccbp = child.text(1) if c_ccbp: ccbp = c_ccbp new_parent = child @@ -137,7 +137,7 @@ class AppletsCCBDock(applets.AppletsDock): break if new_parent is None: if create_groups: - new_parent = self.new_group(g, parent) + new_parent = self.new_group(g, parent=parent) else: return None, None parent = new_parent