[QGIS Commit] r15682 - trunk/qgis/src/app/attributetable

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Apr 8 17:21:59 EDT 2011


Author: wonder
Date: 2011-04-08 14:21:59 -0700 (Fri, 08 Apr 2011)
New Revision: 15682

Modified:
   trunk/qgis/src/app/attributetable/qgsattributetableview.cpp
Log:
Show actions only if there are no actions? (Catch 22 strikes again!)


Modified: trunk/qgis/src/app/attributetable/qgsattributetableview.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/qgsattributetableview.cpp	2011-04-08 20:19:17 UTC (rev 15681)
+++ trunk/qgis/src/app/attributetable/qgsattributetableview.cpp	2011-04-08 21:21:59 UTC (rev 15682)
@@ -93,7 +93,7 @@
 
   mActionPopup = new QMenu();
 
-  if ( vlayer->actions()->size() == 0 )
+  if ( vlayer->actions()->size() != 0 )
   {
 
     QAction *a = mActionPopup->addAction( tr( "Run action" ) );



More information about the QGIS-commit mailing list