UI: text keyword argument to label

Prepare for keyword only args
This commit is contained in:
2018-08-28 12:34:51 +10:00
parent 60b24f2415
commit e9fb2feb2e
39 changed files with 187 additions and 187 deletions

View File

@@ -214,7 +214,7 @@ class PropertyPanel:
rna_item, context_member = rna_idprop_context_value(context, self._context_path, self._property_type)
tot = len(rna_item.keys())
if tot:
self.layout().label("%d:" % tot)
self.layout().label(text="%d:" % tot)
"""
def draw(self, context):