Skip to content
Permalink
Browse files
Show actions only if there are no actions? (Catch 22 strikes again!)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15682 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 8, 2011
1 parent b18b18c commit e3fd211e8710ab9e160b8871dd78d51782c96a6d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/attributetable/qgsattributetableview.cpp
@@ -93,7 +93,7 @@ void QgsAttributeTableView::contextMenuEvent( QContextMenuEvent *event )

mActionPopup = new QMenu();

if ( vlayer->actions()->size() == 0 )
if ( vlayer->actions()->size() != 0 )
{

QAction *a = mActionPopup->addAction( tr( "Run action" ) );

0 comments on commit e3fd211

Please sign in to comment.