Skip to content

Commit

Permalink
Initialize mFieldIdx to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 15, 2018
1 parent 673fac0 commit 55a1984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/core/qgseditorwidgetwrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
/**
* mFieldIdx the widget feature field id
*/
int mFieldIdx;
int mFieldIdx = -1;

/**
* The feature currently being edited, in its current state
Expand Down

0 comments on commit 55a1984

Please sign in to comment.