- some small fixes

This commit is contained in:
Marius Stanciu
2020-08-28 00:53:24 +03:00
committed by Marius
parent cebffe34b1
commit eee4595449
5 changed files with 8 additions and 6 deletions

View File

@@ -547,6 +547,7 @@ class DistUI:
self.app = app
self.decimals = self.app.decimals
self.layout = layout
self.units = self.app.defaults['units'].lower()
# ## Title
title_label = FCLabel("<font size=4><b>%s</b></font><br>" % self.toolName)

View File

@@ -224,8 +224,9 @@ class DistMinUI:
self.app = app
self.decimals = self.app.decimals
self.layout = layout
self.units = self.app.defaults['units'].lower()
# ## Title
# ## Title
title_label = QtWidgets.QLabel("<font size=4><b>%s</b></font><br>" % self.toolName)
self.layout.addWidget(title_label)

View File

@@ -1057,11 +1057,6 @@ class ToolIsolation(AppTool, Gerber):
self.on_tool_default_add()
return
if not tools_db_dict:
self.app.inform.emit('[ERROR_NOTCL] %s' % _("Tools DB empty."))
self.blockSignals(False)
return
tool_found = 0
offset = 'Path'