Skip to content

Commit 1b3b8c7

Browse files
author
g_j_m
committed
When choosing to load the georeferenced raster file, qgis now does a
map canvas refresh so that the layer appears (it needed a manual refresh before). git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5754 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 695c871 commit 1b3b8c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/georeferencer/qgspointdialog.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <QTextStream>
77

88
#include "qgisiface.h"
9+
#include "qgisapp.h"
910
#include "qgsapplication.h"
1011
#include "qgspointdialog.h"
1112
#include "mapcoordsdialog.h"
@@ -220,7 +221,7 @@ void QgsPointDialog::on_pbnGenerateAndLoad_clicked()
220221
mIface->addRasterLayer(leSelectModifiedRaster->text());
221222

222223
// This should cause a map refresh, but it doesn't...
223-
mCanvas->refresh();
224+
mIface->app()->refreshMapCanvas();
224225

225226
accept();
226227
}

0 commit comments

Comments
 (0)