- fixed some issues with ToolMeasurement due of above changes

This commit is contained in:
Marius Stanciu
2019-03-10 17:21:45 +02:00
parent a6e23b28a7
commit 68cadb08ce
8 changed files with 306 additions and 9 deletions

View File

@@ -83,9 +83,6 @@ class FlatCAMTool(QtWidgets.QWidget):
# Put ourself in the GUI
self.app.ui.tool_scroll_area.setWidget(self)
# Set the tool name as the widget object name
self.app.ui.tool_scroll_area.widget().setObjectName(self.toolName)
# Switch notebook to tool page
self.app.ui.notebook.setCurrentWidget(self.app.ui.tool_tab)
@@ -100,5 +97,8 @@ class FlatCAMTool(QtWidgets.QWidget):
except AttributeError:
pass
# Set the tool name as the widget object name
self.app.ui.tool_scroll_area.widget().setObjectName(self.toolName)
self.show()