Remove unnecessary height changed notification for streamviews, now that the summary...
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 51923089ad6084b586c408e55f64a092741582bb..9163b10dc1bea5e952d791c03069b596dbc91767 100644 (file)
@@ -385,11 +385,10 @@ AutomationTimeAxisView::set_interpolation (AutomationList::InterpolationStyle st
 void
 AutomationTimeAxisView::clear_clicked ()
 {
-       _session->begin_reversible_command (_("clear automation"));
        if (_line) {
+               _session->begin_reversible_command (_("clear automation"));
                _line->clear ();
        }
-       _session->commit_reversible_command ();
 }
 
 void