Skip to content
Permalink
Browse files

Fix for #429. Restore cursor when raster layer is loaded.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6210 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Dec 8, 2006
1 parent a385320 commit b3f9dcd8592ae6b57a6fcfac8ac5e2cc155272a1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgisapp.cpp
@@ -5007,6 +5007,7 @@ bool QgisApp::addRasterLayer(QFileInfo const & rasterFile, bool guiWarning)
if (!addRasterLayer(layer))
{
mMapCanvas->freeze(false);
QApplication::restoreOverrideCursor();

// Let render() do its own cursor management
// QApplication::restoreOverrideCursor();
@@ -5026,6 +5027,7 @@ bool QgisApp::addRasterLayer(QFileInfo const & rasterFile, bool guiWarning)
statusBar()->message(mMapCanvas->extent().stringRep(2));
layer->refreshLegend();
mMapCanvas->freeze(false);
QApplication::restoreOverrideCursor();

// Let render() do its own cursor management
// QApplication::restoreOverrideCursor();

0 comments on commit b3f9dcd

Please sign in to comment.
You can’t perform that action at this time.