Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #1651
git-svn-id: http://svn.osgeo.org/qgis/trunk@10649 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 24, 2009
1 parent 42093e7 commit 9f919cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/attributetable/qgsattributetabledialog.cpp
Expand Up @@ -498,7 +498,9 @@ void QgsAttributeTableDialog::on_mToggleEditingButton_toggled()

void QgsAttributeTableDialog::editingToggled()
{
mToggleEditingButton->blockSignals( true );
mToggleEditingButton->setChecked( mLayer->isEditable() );
mToggleEditingButton->blockSignals( false );

// (probably reload data if user stopped editing - possible revert)
mModel->reload( mModel->index( 0, 0 ), mModel->index( mModel->rowCount(), mModel->columnCount() ) );
Expand Down

0 comments on commit 9f919cf

Please sign in to comment.