Skip to content

Commit

Permalink
When choosing to load the georeferenced raster file, qgis now does a
Browse files Browse the repository at this point in the history
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.
3 changes: 2 additions & 1 deletion src/plugins/georeferencer/qgspointdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <QTextStream>

#include "qgisiface.h"
#include "qgisapp.h"
#include "qgsapplication.h"
#include "qgspointdialog.h"
#include "mapcoordsdialog.h"
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 1b3b8c7

Please sign in to comment.