reword feedrate error when no tool controller is selected

This commit is contained in:
Daniel Wood
2020-05-09 08:34:55 +01:00
parent 526328dca5
commit 1d9c1f89bd

View File

@@ -536,7 +536,7 @@ class ObjectOp(object):
tc = obj.ToolController
if tc is None or tc.ToolNumber == 0:
FreeCAD.Console.PrintError("No Tool Controller is selected. Tool feed rates required to calculate the cycle time.\n")
FreeCAD.Console.PrintError("No Tool Controller selected.\n")
return translate('PathGui', 'Tool Error')
hFeedrate = tc.HorizFeed.Value