Skip to content
Permalink
Browse files

disable Toggle editing button when provider is not editable

  • Loading branch information
alexbruy committed Sep 12, 2012
1 parent 39db80a commit e8061c7feab9a8bfad138b4948896faa99b04a12
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsvectorlayerproperties.cpp
@@ -66,7 +66,6 @@
#include "qgsstylev2.h"
#include "qgssymbologyv2conversion.h"


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

0 comments on commit e8061c7

Please sign in to comment.
You can’t perform that action at this time.