Skip to content
Permalink
Browse files

show layer name in title of layer properties dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13304 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Apr 13, 2010
1 parent 9cd7f09 commit dd18c6085728fa23db99fae08fc6394bc741d1ff
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/app/qgsrasterlayerproperties.cpp
  2. +2 −0 src/app/qgsvectorlayerproperties.cpp
@@ -324,6 +324,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QWidget *p
QSettings settings;
restoreGeometry( settings.value( "/Windows/RasterLayerProperties/geometry" ).toByteArray() );
listWidget->setCurrentRow( settings.value( "/Windows/RasterLayerProperties/row" ).toInt() );

setWindowTitle( tr( "Layer Properties - %1" ).arg( lyr->name() ) );
} // QgsRasterLayerProperties ctor


@@ -153,6 +153,8 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
QSettings settings;
restoreGeometry( settings.value( "/Windows/VectorLayerProperties/geometry" ).toByteArray() );
listWidget->setCurrentRow( settings.value( "/Windows/VectorLayerProperties/row" ).toInt() );

setWindowTitle( tr( "Layer Properties - %1" ).arg( layer->name() ) );
} // QgsVectorLayerProperties ctor

void QgsVectorLayerProperties::loadRows()

0 comments on commit dd18c60

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