summaryrefslogtreecommitdiff
path: root/src/samplesorter.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-05-24 20:44:33 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-05-24 20:44:33 +0200
commitcb896a4fa1acd9167d3e7ee9f6336a63309eebde (patch)
tree650337e053b670ba1f67d8b2f6da03d43fb0cda0 /src/samplesorter.cc
parent5f3f9fabf5ad2e1cda638612c3cf863045765a3b (diff)
Add save/load of selections/regions in instruments.
Diffstat (limited to 'src/samplesorter.cc')
-rw-r--r--src/samplesorter.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/samplesorter.cc b/src/samplesorter.cc
index 6158bfa..91bc6b4 100644
--- a/src/samplesorter.cc
+++ b/src/samplesorter.cc
@@ -36,9 +36,10 @@
#define MAXFLOAT (3.40282347e+38F)
#endif
-SampleSorter::SampleSorter(Selections& s, Selections& p)
+SampleSorter::SampleSorter(Selections& s, Selections& p, Instrument& instrument)
: selections(s)
, selections_preview(p)
+ , instrument(instrument)
{
setMouseTracking(true);