diff view/Pane.cpp @ 875:0e674f1bbf08 tonioni

(Very slowly) perform local reanalysis when dragging a note up or down
author Chris Cannam
date Tue, 11 Nov 2014 14:11:07 +0000
parents 9855fc0927af
children 4968bbaf1ed8
line wrap: on
line diff
--- a/view/Pane.cpp	Tue Nov 11 12:55:30 2014 +0000
+++ b/view/Pane.cpp	Tue Nov 11 14:11:07 2014 +0000
@@ -1740,9 +1740,9 @@
 
             if (!editSelectionDrag(e)) {
 
-                Layer *layer = getInteractionLayer();
-
-                if (layer && layer->isLayerEditable()) {
+                Layer *layer = getTopFlexiNoteLayer();
+
+                if (layer) {
 
                     int x = e->x();
                     int y = e->y();