diff main/MainWindow.cpp @ 130:47b5b6952189

* Fix alignment of new pane added after play position has changed (but global centre frame has not been explicitly moved)
author Chris Cannam
date Mon, 16 Apr 2007 15:16:10 +0000
parents 20ec0c6d4a97
children 784ea35d07dd
line wrap: on
line diff
--- a/main/MainWindow.cpp	Mon Apr 16 12:20:27 2007 +0000
+++ b/main/MainWindow.cpp	Mon Apr 16 15:16:10 2007 +0000
@@ -3420,9 +3420,9 @@
     m_paneStack->setCurrentPane(pane);
     m_paneStack->setCurrentLayer(pane, newLayer);
 
-    std::cerr << "MainWindow::addPane: global centre frame is "
-              << m_viewManager->getGlobalCentreFrame() << std::endl;
-    pane->setCentreFrame(m_viewManager->getGlobalCentreFrame());
+//    std::cerr << "MainWindow::addPane: global centre frame is "
+//              << m_viewManager->getGlobalCentreFrame() << std::endl;
+//    pane->setCentreFrame(m_viewManager->getGlobalCentreFrame());
 
     CommandHistory::getInstance()->endCompoundOperation();