From 651b3137e9230fb49d0ee89d4785c3fa668ec205 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 16 Jun 2020 15:14:34 +0300 Subject: [PATCH] - minor fix in App Tools that were updated to have UI in a separate class --- CHANGELOG.md | 1 + appTools/ToolDrilling.py | 1 + appTools/ToolIsolation.py | 1 + appTools/ToolNCC.py | 3 ++- appTools/ToolPaint.py | 3 ++- 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a92b5156..7ad80810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ CHANGELOG for FlatCAM beta - fixed some problems (typos, missing data) generated by latest changes - more typos fixed in Excellon parser, slots processing - fixed Extract Drills Tool to work with the new Excellon data format +- minor fix in App Tools that were updated to have UI in a separate class 15.06.2020 diff --git a/appTools/ToolDrilling.py b/appTools/ToolDrilling.py index 660ef02f..bc293bde 100644 --- a/appTools/ToolDrilling.py +++ b/appTools/ToolDrilling.py @@ -53,6 +53,7 @@ class ToolDrilling(AppTool, Excellon): # ######################### Tool GUI ########################################## # ############################################################################# self.ui = DrillingUI(layout=self.layout, app=self.app) + self.toolName = self.ui.toolName # ############################################################################# # ########################## VARIABLES ######################################## diff --git a/appTools/ToolIsolation.py b/appTools/ToolIsolation.py index 750df8af..1b54d31f 100644 --- a/appTools/ToolIsolation.py +++ b/appTools/ToolIsolation.py @@ -47,6 +47,7 @@ class ToolIsolation(AppTool, Gerber): # ######################### Tool GUI ########################################## # ############################################################################# self.ui = IsoUI(layout=self.layout, app=self.app) + self.toolName = self.ui.toolName # ############################################################################# # ###################### Setup CONTEXT MENU ################################### diff --git a/appTools/ToolNCC.py b/appTools/ToolNCC.py index 4bc6ba47..0f4ee4f0 100644 --- a/appTools/ToolNCC.py +++ b/appTools/ToolNCC.py @@ -50,7 +50,8 @@ class NonCopperClear(AppTool, Gerber): # ######################### Tool GUI ########################################## # ############################################################################# self.ui = NccUI(layout=self.layout, app=self.app) - + self.toolName = self.ui.toolName + # ############################################################################# # ###################### Setup CONTEXT MENU ################################### # ############################################################################# diff --git a/appTools/ToolPaint.py b/appTools/ToolPaint.py index 94052468..eb76db3b 100644 --- a/appTools/ToolPaint.py +++ b/appTools/ToolPaint.py @@ -50,7 +50,8 @@ class ToolPaint(AppTool, Gerber): # ######################### Tool GUI ########################################## # ############################################################################# self.ui = PaintUI(layout=self.layout, app=self.app) - + self.toolName = self.ui.toolName + # ############################################################################# # ########################## VARIABLES ######################################## # #############################################################################