diff 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
line wrap: on
line diff
--- a/view/Pane.cpp	Thu Mar 15 11:34:39 2007 +0000
+++ b/view/Pane.cpp	Thu Mar 15 13:11:55 2007 +0000
@@ -1720,7 +1720,7 @@
 
     View::viewZoomLevelChanged(v, z, locked);
 
-    if (!m_vthumb->isVisible()) return;
+    if (m_hthumb && !m_hthumb->isVisible()) return;
 
     if (v != this) {
         if (!locked || !m_followZoom) return;