Skip to content

Commit

Permalink
Fixes infinite redraw loop when canvas is left frozen by a mistake
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5144 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 3, 2006
1 parent 745e2f2 commit aa688f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit aa688f1

Please sign in to comment.