X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Frhythm_ferret.cc;h=e257f56b52479fa15039c2ceb796e91b4c1f0f8d;hb=aabc5108f34058d466d1e7451694193a08379ce2;hp=f1593310183595e34c5658e0787749cb8e970f6d;hpb=6b3a8915f3c50f7220121fcb9202ec20144389c4;p=ardour.git diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index f159331018..e257f56b52 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -352,7 +352,7 @@ RhythmFerret::do_split_action () editor.EditorFreeze(); /* Emit signal */ - _session->begin_reversible_command (_("split regions (rhythm ferret)")); + editor.begin_reversible_command (_("split regions (rhythm ferret)")); /* Merge the transient positions for regions in consideration */ AnalysisFeatureList merged_features; @@ -381,7 +381,7 @@ RhythmFerret::do_split_action () i = tmp; } - _session->commit_reversible_command (); + editor.commit_reversible_command (); editor.EditorThaw(); /* Emit signal */ }