Skip to content

Commit

Permalink
disable Toggle editing button when provider is not editable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Sep 12, 2012
1 parent 39db80a commit e8061c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -66,7 +66,6 @@
#include "qgsstylev2.h"
#include "qgssymbologyv2conversion.h"


QgsVectorLayerProperties::QgsVectorLayerProperties(
QgsVectorLayer *lyr,
QWidget * parent,
Expand Down Expand Up @@ -447,6 +446,7 @@ void QgsVectorLayerProperties::updateButtons()
mAddAttributeButton->setEnabled( false );
mDeleteAttributeButton->setEnabled( false );
mToggleEditingButton->setChecked( false );
mToggleEditingButton->setEnabled( false );
mCalculateFieldButton->setEnabled( false );
}
}
Expand Down

0 comments on commit e8061c7

Please sign in to comment.