[QGIS Commit] r10649 - trunk/qgis/src/app/attributetable

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Apr 24 07:38:14 EDT 2009


Author: jef
Date: 2009-04-24 07:38:13 -0400 (Fri, 24 Apr 2009)
New Revision: 10649

Modified:
   trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp
Log:
fix #1651

Modified: trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp	2009-04-24 07:52:20 UTC (rev 10648)
+++ trunk/qgis/src/app/attributetable/qgsattributetabledialog.cpp	2009-04-24 11:38:13 UTC (rev 10649)
@@ -498,7 +498,9 @@
 
 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() ) );



More information about the QGIS-commit mailing list