diff --git a/src/gui/widgets/timeline-widget.cpp b/src/gui/widgets/timeline-widget.cpp index 6b9d83be2..faea874ff 100644 --- a/src/gui/widgets/timeline-widget.cpp +++ b/src/gui/widgets/timeline-widget.cpp @@ -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; }