Skip to content

Commit

Permalink
Properly set multiedit button state
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 20, 2016
1 parent 8261275 commit 1156c8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsattributetabledialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ void QgsAttributeTableDialog::updateMultiEditButtonState()
return;

mActionToggleMultiEdit->setEnabled( mLayer->isEditable() );
if ( mLayer->isEditable() && mMainView->view() != QgsDualView::AttributeEditor )

if ( !mLayer->isEditable() || ( mLayer->isEditable() && mMainView->view() != QgsDualView::AttributeEditor ) )
{
mActionToggleMultiEdit->setChecked( false );
}
Expand Down

0 comments on commit 1156c8d

Please sign in to comment.