Skip to content
Permalink
Browse files

Fixes infinite redraw loop when canvas is left frozen by a mistake

git-svn-id: http://svn.osgeo.org/qgis/trunk@5144 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 3, 2006
1 parent 745e2f2 commit aa688f1409dd9a274796fa2ab8561c744129dab5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmapcanvas.cpp
@@ -286,7 +286,7 @@ void QgsMapCanvas::drawContents(QPainter * p, int cx, int cy, int cw, int ch)
std::cout << "QgsMapCanvas::drawContents" << std::endl;
#endif

if (mDirty)
if (mDirty && !mFrozen)
{
render();

0 comments on commit aa688f1

Please sign in to comment.
You can’t perform that action at this time.