Mercurial > hg > svgui
comparison view/View.cpp @ 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 | e2baee498ec8 |
comparison
equal
deleted
inserted
replaced
205:6969f21da18a | 206:305c129a2c4f |
---|---|
264 } | 264 } |
265 | 265 |
266 void | 266 void |
267 View::overlayModeChanged() | 267 View::overlayModeChanged() |
268 { | 268 { |
269 delete m_cache; | |
270 m_cache = 0; | |
269 update(); | 271 update(); |
270 } | 272 } |
271 | 273 |
272 void | 274 void |
273 View::zoomWheelsEnabledChanged() | 275 View::zoomWheelsEnabledChanged() |