changeset 232:5de07bba4676 sv1-1.0pre3

* Fix crash on startup on Windows
author Chris Cannam
date Thu, 15 Mar 2007 13:11:55 +0000
parents 512ead25e842
children 8c00a4d4fc69
files view/Pane.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;