Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 228:b99c6449c2ed
* Fix #1844539 confusing waveform navigator with secondary files
author | Chris Cannam |
---|---|
date | Wed, 12 Dec 2007 17:42:23 +0000 |
parents | 718aaac046e7 |
children | 66dc07525671 |
comparison
equal
deleted
inserted
replaced
227:718aaac046e7 | 228:b99c6449c2ed |
---|---|
3119 } | 3119 } |
3120 | 3120 |
3121 void | 3121 void |
3122 MainWindow::currentPaneChanged(Pane *pane) | 3122 MainWindow::currentPaneChanged(Pane *pane) |
3123 { | 3123 { |
3124 MainWindowBase::currentPaneChanged(pane); | |
3125 | |
3124 if (!pane || !m_panLayer) return; | 3126 if (!pane || !m_panLayer) return; |
3125 for (int i = pane->getLayerCount(); i > 0; ) { | 3127 for (int i = pane->getLayerCount(); i > 0; ) { |
3126 --i; | 3128 --i; |
3127 Layer *layer = pane->getLayer(i); | 3129 Layer *layer = pane->getLayer(i); |
3128 if (LayerFactory::getInstance()->getLayerType(layer) == | 3130 if (LayerFactory::getInstance()->getLayerType(layer) == |