Skip to content

Commit

Permalink
Value relation widget respects read only mode
Browse files Browse the repository at this point in the history
Fix #17592
  • Loading branch information
m-kuhn committed Dec 27, 2017
1 parent 060a36b commit 167fbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.h
Expand Up @@ -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;
Expand Down

0 comments on commit 167fbf6

Please sign in to comment.