Draft: Use function-specific icons in the taskbar

This commit is contained in:
marioalexis
2021-02-01 00:22:25 -03:00
parent 52ae5f8d6c
commit 6969be3881
15 changed files with 20 additions and 23 deletions

View File

@@ -61,7 +61,7 @@ class Rectangle(gui_base_original.Creator):
super(Rectangle, self).Activated(name)
if self.ui:
self.refpoint = None
self.ui.pointUi(name)
self.ui.pointUi(title=name, icon="Draft_Rectangle")
self.ui.extUi()
if utils.getParam("UsePartPrimitives", False):
self.fillstate = self.ui.hasFill.isChecked()