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/qgis@5144 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 3, 2006
1 parent 2e87442 commit 6800c2187550cb9b33f26e12a2401674fbf2c615
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 6800c21

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