Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed Sep 2, 2006
1 parent 695c871 commit 1b3b8c7dcf2aa95d9a0f9997fec3770eb90b9674
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/plugins/georeferencer/qgspointdialog.cpp
@@ -6,6 +6,7 @@
#include <QTextStream>

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

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

accept();
}

0 comments on commit 1b3b8c7

Please sign in to comment.