mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for ticket #149.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5541 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1a2e8905eb
commit
69f024ef51
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user