- more refactoring in the app
This commit is contained in:
@@ -360,7 +360,7 @@ class ToolIsolation(AppTool, Gerber):
|
||||
dias = self.app.defaults["tools_iso_tooldia"]
|
||||
|
||||
if not dias:
|
||||
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> TOOLS -> Isolation Tools.")
|
||||
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> Plugins -> Isolation Tools.")
|
||||
return
|
||||
|
||||
self.tooluid = 0
|
||||
|
||||
@@ -572,7 +572,7 @@ class ToolPaint(AppTool, Gerber):
|
||||
diameters = self.app.defaults["tools_paint_tooldia"]
|
||||
|
||||
if not diameters:
|
||||
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> TOOLS -> NCC Tools.")
|
||||
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> Plugins -> NCC Tools.")
|
||||
self.build_ui()
|
||||
|
||||
# if the Paint Method is "Single" disable the tool table context menu
|
||||
|
||||
@@ -128,7 +128,7 @@ class Properties(AppTool):
|
||||
obj_list = self.app.collection.get_selected()
|
||||
if not obj_list:
|
||||
self.app.inform.emit('[ERROR_NOTCL] %s' % _("No object is selected."))
|
||||
self.app.ui.notebook.setTabText(2, _("Tools"))
|
||||
self.app.ui.notebook.setTabText(2, _("Plugins"))
|
||||
self.properties_frame.hide()
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.project_tab)
|
||||
return
|
||||
|
||||
@@ -192,7 +192,7 @@ class SolderPaste(AppTool):
|
||||
except Exception as err:
|
||||
self.app.log.error("SolderPaste.set_tool_ui() -> nozzle dias -> %s" % str(err))
|
||||
self.app.log.error("At least one Nozzle tool diameter needed. "
|
||||
"Verify in Edit -> Preferences -> TOOLS -> Solder Paste Tools.")
|
||||
"Verify in Edit -> Preferences -> Plugins -> Solder Paste Tools.")
|
||||
return
|
||||
|
||||
self.tooluid = 0
|
||||
|
||||
Reference in New Issue
Block a user