Skip to content

Commit

Permalink
Show actions only if there are no actions? (Catch 22 strikes again!)
Browse files Browse the repository at this point in the history
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 9007d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/attributetable/qgsattributetableview.cpp
Expand Up @@ -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" ) );
Expand Down

0 comments on commit 9007d89

Please sign in to comment.