Mercurial > hg > svgui
diff view/Pane.cpp @ 339:ac954fc0ec6f
* Fix #1844539 confusing waveform navigator with secondary files
author | Chris Cannam |
---|---|
date | Wed, 12 Dec 2007 17:42:23 +0000 |
parents | 1d3b27e69bf0 |
children | 998786b3174f |
line wrap: on
line diff
--- a/view/Pane.cpp Tue Dec 11 14:58:29 2007 +0000 +++ b/view/Pane.cpp Wed Dec 12 17:42:23 2007 +0000 @@ -389,10 +389,7 @@ View::paintEvent(e); paint.begin(this); - - QFont font(paint.font()); - font.setPointSize(Preferences::getInstance()->getViewFontSize()); - paint.setFont(font); + setPaintFont(paint); if (e) paint.setClipRect(r); @@ -1678,6 +1675,9 @@ newCentreFrame = 0; } + std::cerr << "Pane::dragTopLayer: newCentreFrame = " << newCentreFrame << + ", models end frame = " << getModelsEndFrame() << std::endl; + if (newCentreFrame >= getModelsEndFrame()) { newCentreFrame = getModelsEndFrame(); if (newCentreFrame > 0) --newCentreFrame;