diff layer/FlexiNoteLayer.cpp @ 795:54efa0a4f728 tonioni

Fix Tony bug #981: note editing does not work when pitch track is invisible
author Chris Cannam
date Fri, 13 Jun 2014 15:29:06 +0100
parents bb1f2a20f7db
children 7717751f4407
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Thu Jun 12 18:52:52 2014 +0100
+++ b/layer/FlexiNoteLayer.cpp	Fri Jun 13 15:29:06 2014 +0100
@@ -1329,7 +1329,7 @@
 
     for (int i = 0; i < v->getLayerCount(); ++i) {
         Layer *layer = v->getLayer(i);
-        if (layer && !layer->isLayerDormant(v) && 
+        if (layer &&
             layer->getLayerPresentationName() != "candidate") {
             cerr << "FlexiNoteLayer::getAssociatedPitchModel: looks like our layer is " << layer << endl;
             SparseTimeValueModel *model = qobject_cast<SparseTimeValueModel *>