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@15682 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 8, 2011
1 parent 7b4e699 commit 9007d89bb5754b4604a28d74c1d5a32bebb24ddd
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 9007d89

Please sign in to comment.