- fixed some issues with ToolMeasurement due of above changes
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user