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 1b3b8c7
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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.