Explorar el Código

- minor fix in App Tools that were updated to have UI in a separate class

Marius Stanciu hace 5 años
padre
commit
651b3137e9
Se han modificado 5 ficheros con 7 adiciones y 2 borrados
  1. 1 0
      CHANGELOG.md
  2. 1 0
      appTools/ToolDrilling.py
  3. 1 0
      appTools/ToolIsolation.py
  4. 2 1
      appTools/ToolNCC.py
  5. 2 1
      appTools/ToolPaint.py

+ 1 - 0
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
 

+ 1 - 0
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 ########################################

+ 1 - 0
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 ###################################

+ 2 - 1
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 ###################################
         # #############################################################################

+ 2 - 1
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 ########################################
         # #############################################################################