Skip to content

Commit

Permalink
Fix for ticket #149.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5541 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jun 24, 2006
1 parent 80495f8 commit 8d1452b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,11 @@ QgsMapLayer* QgsMapCanvas::currentLayer()

void QgsMapCanvas::refresh()
{
clear();
updateContents();
if (mRenderFlag)
{
clear();
updateContents();
}
} // refresh

void QgsMapCanvas::drawContents(QPainter * p, int cx, int cy, int cw, int ch)
Expand Down

0 comments on commit 8d1452b

Please sign in to comment.