diff --git a/object_collection_manager/ui.py b/object_collection_manager/ui.py
index 6d576029fb6e252fd9de2baa7c44397549097d4c..838c5d180a044ca3175551db524208833cdc1c73 100644
--- a/object_collection_manager/ui.py
+++ b/object_collection_manager/ui.py
@@ -309,7 +309,7 @@ class CollectionManager(Operator):
                                icon='COLLECTION_NEW')
         prop.child = False
 
-        addcollec_row.operator("view3d.add_collection", text="Add SubCollection",
+        prop = addcollec_row.operator("view3d.add_collection", text="Add SubCollection",
                                icon='COLLECTION_NEW')
         prop.child = True