summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-28 18:43:40 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-28 18:43:40 +0000
commitbf7023bc7f91c5cb6b9b6235d5368f0cf5d25c82 (patch)
treedc99fda9b2838ed5dbed76664399797f8fc818e9 /gtk2_ardour/midi_region_view.h
parent89b686f9375decea756e4111a7c1f44192e00f0b (diff)
Disable midi model updates during trim drags. Speeds the drags up at the cost of not updating notes in real-time. Fixes #3162.
git-svn-id: svn://localhost/ardour2/branches/3.0@7315 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 115c2c8371..cc9241b0e0 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -279,6 +279,8 @@ class MidiRegionView : public RegionView
void show_list_editor ();
void selection_as_notelist (Notes& selected, bool allow_all_if_none_selected = false);
+
+ void enable_display (bool);
protected:
/** Allows derived types to specify their visibility requirements