Reinstated a small efficiency

This commit is contained in:
Joel Holdsworth 2008-08-04 16:40:38 +01:00
parent 2ee6f6be62
commit 45ca590c38

View file

@ -179,8 +179,8 @@ TimelineWidget::set_tool(ToolType tool_type)
if(tool != NULL)
{
// Do we need to change tools?
//if(tool->get_type() == tool_type)
// return;
if(tool->get_type() == tool_type)
return;
delete tool;
}