Skip to content

Commit

Permalink
Merge fix for bug #1205392 (raster layer name not updated) from Relea…
Browse files Browse the repository at this point in the history
…se-0_7-candidate branch.

git-svn-id: http://svn.osgeo.org/qgis/trunk@3459 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
stevehalasz committed May 25, 2005
1 parent ea30391 commit 6c9ce3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qgsrasterlayerproperties.cpp
Expand Up @@ -373,15 +373,15 @@ void QgsRasterLayerProperties::apply()
}

}



rasterLayer->setLayerName(leDisplayName->text());

//update the legend pixmap
pixmapLegend->setPixmap(rasterLayer->getLegendQPixmap());
pixmapLegend->setScaledContents(true);
pixmapLegend->repaint(false);
rasterLayer->updateItemPixmap();

rasterLayer->setLayerName(leDisplayName->text());

//see if the user would like debug overlays
if (cboxShowDebugInfo->isChecked()
== true)
Expand Down

0 comments on commit 6c9ce3f

Please sign in to comment.