Skip to content

Commit 6800c21

Browse files
author
wonder
committed
Fixes infinite redraw loop when canvas is left frozen by a mistake
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5144 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2e87442 commit 6800c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmapcanvas.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void QgsMapCanvas::drawContents(QPainter * p, int cx, int cy, int cw, int ch)
286286
std::cout << "QgsMapCanvas::drawContents" << std::endl;
287287
#endif
288288

289-
if (mDirty)
289+
if (mDirty && !mFrozen)
290290
{
291291
render();
292292

0 commit comments

Comments
 (0)