Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/notation_cleanup/src/gui/editors/notation/NotationScene.cpp [r12200] .. [r12201] Maximize Restore

  Switch to side-by-side view

--- a/branches/notation_cleanup/src/gui/editors/notation/NotationScene.cpp
+++ b/branches/notation_cleanup/src/gui/editors/notation/NotationScene.cpp
@@ -1438,13 +1438,16 @@
             newStaff->renderElements(oldFrom, oldTo);
             newStaff->renderElements(newFrom, newTo);
         }
-    } else if (oldSelection && oldStaff) {
+    } else {
+        if (oldSelection && oldStaff) {
         oldStaff->renderElements(oldSelection->getStartTime(), 
                                  oldSelection->getEndTime());
-    } else if (m_selection && newStaff) {
+        }
+        if (m_selection && newStaff) {
         newStaff->renderElements(m_selection->getStartTime(), 
                                  m_selection->getEndTime());
-    }        
+        }
+    }
 
     if (preview) previewSelection(m_selection, oldSelection);