changeset 206:305c129a2c4f

* ensure view cache is discarded when overlay level changes
author Chris Cannam
date Mon, 26 Feb 2007 16:32:12 +0000
parents 6969f21da18a
children a5b3c9f580c1
files view/View.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/view/View.cpp	Mon Feb 26 14:55:08 2007 +0000
+++ b/view/View.cpp	Mon Feb 26 16:32:12 2007 +0000
@@ -266,6 +266,8 @@
 void
 View::overlayModeChanged()
 {
+    delete m_cache;
+    m_cache = 0;
     update();
 }