Skip to content
Permalink
Browse files

Value relation widget respects read only mode

Fix #17592
  • Loading branch information
m-kuhn committed Dec 12, 2017
1 parent 060a36b commit 167fbf6d536a65213d507dabb3546230a8e939f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.h
@@ -78,7 +78,7 @@ class GUI_EXPORT QgsValueRelationWidgetWrapper : public QgsEditorWidgetWrapper
QgsValueRelationFieldFormatter::ValueRelationCache mCache;
QgsVectorLayer *mLayer = nullptr;

bool mEnabled = false;
bool mEnabled = true;

friend class QgsValueRelationWidgetFactory;
friend class TestQgsValueRelationWidgetWrapper;

0 comments on commit 167fbf6

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