diff view/Pane.cpp @ 731:f831ca41d4a5 tonioni

Add selectionChangedByUser for selection changes prompted by interactivity rather than by undo/redo
author Chris Cannam
date Wed, 05 Mar 2014 09:35:32 +0000
parents 711ae36a53a2
children b6dc57688c72 09e2677e34e7
line wrap: on
line diff
--- a/view/Pane.cpp	Tue Mar 04 16:45:39 2014 +0000
+++ b/view/Pane.cpp	Wed Mar 05 09:35:32 2014 +0000
@@ -359,10 +359,10 @@
                      bool &closeToRight) const
 {
     if (m_identifyFeatures &&
-    m_manager &&
-    m_manager->getToolModeFor(this) == ViewManager::EditMode &&
-    !m_manager->getSelections().empty() &&
-    !selectionIsBeingEdited()) {
+        m_manager &&
+        m_manager->getToolModeFor(this) == ViewManager::EditMode &&
+        !m_manager->getSelections().empty() &&
+        !selectionIsBeingEdited()) {
 
     Selection s(getSelectionAt(m_identifyPoint.x(),
                    closeToLeft, closeToRight));