Mercurial > hg > svgui
comparison view/Pane.cpp @ 232:5de07bba4676 sv1-1.0pre3
* Fix crash on startup on Windows
author | Chris Cannam |
---|---|
date | Thu, 15 Mar 2007 13:11:55 +0000 |
parents | 387f2f6fc333 |
children | d45d78a94f2e |
comparison
equal
deleted
inserted
replaced
231:512ead25e842 | 232:5de07bba4676 |
---|---|
1718 // std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " | 1718 // std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " |
1719 // << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; | 1719 // << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; |
1720 | 1720 |
1721 View::viewZoomLevelChanged(v, z, locked); | 1721 View::viewZoomLevelChanged(v, z, locked); |
1722 | 1722 |
1723 if (!m_vthumb->isVisible()) return; | 1723 if (m_hthumb && !m_hthumb->isVisible()) return; |
1724 | 1724 |
1725 if (v != this) { | 1725 if (v != this) { |
1726 if (!locked || !m_followZoom) return; | 1726 if (!locked || !m_followZoom) return; |
1727 } | 1727 } |
1728 | 1728 |