[QGIS Commit] r13304 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Apr 13 04:37:28 EDT 2010
Author: jef
Date: 2010-04-13 04:37:22 -0400 (Tue, 13 Apr 2010)
New Revision: 13304
Modified:
trunk/qgis/src/app/qgsrasterlayerproperties.cpp
trunk/qgis/src/app/qgsvectorlayerproperties.cpp
Log:
show layer name in title of layer properties dialog
Modified: trunk/qgis/src/app/qgsrasterlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsrasterlayerproperties.cpp 2010-04-12 22:12:06 UTC (rev 13303)
+++ trunk/qgis/src/app/qgsrasterlayerproperties.cpp 2010-04-13 08:37:22 UTC (rev 13304)
@@ -324,6 +324,8 @@
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
Modified: trunk/qgis/src/app/qgsvectorlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2010-04-12 22:12:06 UTC (rev 13303)
+++ trunk/qgis/src/app/qgsvectorlayerproperties.cpp 2010-04-13 08:37:22 UTC (rev 13304)
@@ -153,6 +153,8 @@
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()
More information about the QGIS-commit
mailing list