diff view/Pane.cpp @ 675:3437e0fad7ae imaf_enc

IMAF load code from Jesus Corral Garcia
author Chris Cannam
date Mon, 04 Nov 2013 17:09:36 +0000
parents d632a1e87018
children 26c5f7fd4807
line wrap: on
line diff
--- a/view/Pane.cpp	Thu May 16 13:11:13 2013 +0100
+++ b/view/Pane.cpp	Mon Nov 04 17:09:36 2013 +0000
@@ -1428,7 +1428,8 @@
 	    int y1 = std::max(m_clickPos.y(), m_mousePos.y());
 
             zoomToRegion(x0, y0, x1, y1);
-	}
+
+    }
 
     } else if (mode == ViewManager::SelectMode) {
 
@@ -1461,8 +1462,8 @@
 
 	Layer *layer = getSelectedLayer();
 	if (layer && layer->isLayerEditable()) {
-	    layer->drawEnd(this, e);
-	    update();
+        layer->drawEnd(this, e);
+        update();
 	}
 
     } else if (mode == ViewManager::EraseMode) {
@@ -1596,7 +1597,7 @@
 
 	Layer *layer = getSelectedLayer();
 	if (layer && layer->isLayerEditable()) {
-	    layer->drawDrag(this, e);
+        layer->drawDrag(this, e);
 	}
 
     } else if (mode == ViewManager::EraseMode) {