summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-06-07 12:14:44 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-06-07 12:28:53 -0400
commit6ac76734f53b28e3e0bf08c58eb463b16f719d6a (patch)
treed44fdda3207d4bcd644aa8712fc7836a483e8c84 /gtk2_ardour/selection.h
parentca815acd6150669347e15114bd6276d5e133ac6c (diff)
cut buffer must not mess around with libardour selection
Fixes range mode selection/cut/copy that would previously clear track selection
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r--gtk2_ardour/selection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h
index 7e8ba19d7b..307a148c85 100644
--- a/gtk2_ardour/selection.h
+++ b/gtk2_ardour/selection.h
@@ -90,7 +90,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
/** only used when this class is used as a cut buffer */
MidiNoteSelection midi_notes;
- Selection (PublicEditor const * e);
+ Selection (PublicEditor const * e, bool manage_libardour_selection);
// Selection& operator= (const Selection& other);
@@ -230,6 +230,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
private:
PublicEditor const * editor;
uint32_t next_time_id;
+ bool manage_libardour_selection;
TrackViewList add_grouped_tracks (TrackViewList const & t);
};