- fixed some recently introduced issues for the Milling and Drilling Plugins; those plugins did not had the pluginName defined in the Plugin UI

- in the canvas context menu added the menu for color changing
- when doing color changing now only Gerber and Excellon objects can have the colors changed
This commit is contained in:
Marius Stanciu
2021-10-09 00:34:30 +03:00
committed by Marius
parent 866e2fb4b7
commit 8c57a53e3b
5 changed files with 80 additions and 5 deletions

View File

@@ -2255,6 +2255,8 @@ class ToolDrilling(AppTool, Excellon):
class DrillingUI:
pluginName = _("Drilling")
def __init__(self, layout, app, name):
self.app = app
self.decimals = self.app.decimals

View File

@@ -3532,6 +3532,8 @@ class ToolMilling(AppTool, Excellon):
class MillingUI:
pluginName = _("Milling")
def __init__(self, layout, app, name):
self.app = app
self.decimals = self.app.decimals