summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-04-09 03:21:13 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:14 +1000
commit618a391346763603ef8e1d77f17a7fb6a6538772 (patch)
tree3bfd1563fd5bb6e763f19c32016fafba9ac7ebc3 /gtk2_ardour/rhythm_ferret.cc
parentec29f5d64cd59f27f2953cb3363c2bb9c4a21eb2 (diff)
Preformance - reinstate EditorRegions::freeze_tree_model ().
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index 964418843d..d73b376439 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -377,6 +377,8 @@ RhythmFerret::do_split_action ()
return;
}
+ editor.EditorFreeze(); /* Emit signal */
+
editor.begin_reversible_command (_("split regions (rhythm ferret)"));
/* Merge the transient positions for regions in consideration */
@@ -407,6 +409,8 @@ RhythmFerret::do_split_action ()
}
editor.commit_reversible_command ();
+
+ editor.EditorThaw(); /* Emit signal */
}
void