[QGIS Commit] r8259 - trunk/qgis/src/app/legend

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 21 07:58:36 EDT 2008


Author: jef
Date: 2008-03-21 07:58:36 -0400 (Fri, 21 Mar 2008)
New Revision: 8259

Modified:
   trunk/qgis/src/app/legend/qgslegendlayerfile.cpp
Log:
fix #916

Modified: trunk/qgis/src/app/legend/qgslegendlayerfile.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegendlayerfile.cpp	2008-03-21 10:59:42 UTC (rev 8258)
+++ trunk/qgis/src/app/legend/qgslegendlayerfile.cpp	2008-03-21 11:58:36 UTC (rev 8259)
@@ -274,7 +274,7 @@
 
       connect(mTableDisplay, SIGNAL(deleted()), this, SLOT(invalidateTableDisplay()));
 
-      mTableDisplay->setTitle(tr("Attribute table - ") + name());
+      mTableDisplay->setTitle(tr("Attribute table - ") + vlayer->name());
       mTableDisplay->show();
 
       // Give the table the most recent copy of the actions for this layer.



More information about the QGIS-commit mailing list