Fix osai/fanuc

This commit is contained in:
Lucio Maranta
2019-02-07 17:23:55 +01:00
parent 98816d1559
commit bbc619ee66
4 changed files with 24 additions and 10 deletions
@@ -343,7 +343,8 @@ namespace Step.Database.Controllers
public void DeleteTool(int toolId)
{
DbNcToolModel tool = FindTool(toolId);
DeleteTool(tool);
if(tool != null)
DeleteTool(tool);
}
public void DeleteTool(DbNcToolModel tool)