Skip to content

Commit 9007d89

Browse files
author
wonder
committedApr 8, 2011
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
1 parent 7b4e699 commit 9007d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/attributetable/qgsattributetableview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void QgsAttributeTableView::contextMenuEvent( QContextMenuEvent *event )
9393

9494
mActionPopup = new QMenu();
9595

96-
if ( vlayer->actions()->size() == 0 )
96+
if ( vlayer->actions()->size() != 0 )
9797
{
9898

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

0 commit comments

Comments
 (0)
Please sign in to comment.