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@5754 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 2, 2006
1 parent 6a136c1 commit 1907ae625317375f5eeb9a2a4c66986794725b58
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 1907ae6

Please sign in to comment.