[QGIS Commit] r15738 - trunk/qgis/src/app/legend
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Apr 16 20:04:03 EDT 2011
Author: wonder
Date: 2011-04-16 17:04:03 -0700 (Sat, 16 Apr 2011)
New Revision: 15738
Modified:
trunk/qgis/src/app/legend/qgslegendlayer.cpp
Log:
Show an icon for open attribute table action in legend
Modified: trunk/qgis/src/app/legend/qgslegendlayer.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegendlayer.cpp 2011-04-16 20:46:42 UTC (rev 15737)
+++ trunk/qgis/src/app/legend/qgslegendlayer.cpp 2011-04-17 00:04:03 UTC (rev 15738)
@@ -444,7 +444,7 @@
QgsVectorLayer* vlayer = qobject_cast<QgsVectorLayer *>( lyr );
// attribute table
- theMenu.addAction( tr( "&Open attribute table" ),
+ theMenu.addAction( QgisApp::getThemeIcon( "/mActionOpenTable.png" ), tr( "&Open attribute table" ),
QgisApp::instance(), SLOT( attributeTable() ) );
// allow editing
More information about the QGIS-commit
mailing list