Reinstated a small efficiency
This commit is contained in:
parent
2ee6f6be62
commit
45ca590c38
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue