From ec29e30de2ad6bd55a3b87cd201ebb27df167a0c Mon Sep 17 00:00:00 2001 From: Samuel Abels Date: Sat, 26 Aug 2023 12:49:00 +0200 Subject: [PATCH] fix: abbreviations not showing in tool editor --- btl/ui/toolproperties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btl/ui/toolproperties.py b/btl/ui/toolproperties.py index bf54b8d..7faa312 100644 --- a/btl/ui/toolproperties.py +++ b/btl/ui/toolproperties.py @@ -150,7 +150,7 @@ def __init__ (self, tool, pocket=None, parent=None): def _add_property(self, param, abbreviation=None): setter = partial(self.tool.shape.set_param, param.name) widget = self._get_widget_from_param(param, setter) - self._add_property_from_widget(widget, param.label, abbreviation) + self._add_property_from_widget(widget, param.label, param.v, abbreviation) class ToolAttributes(PropertyWidget): def __init__ (self, tool, parent=None):