Skip to content

Commit 55a1984

Browse files
committedMay 15, 2018
Initialize mFieldIdx to -1
1 parent 673fac0 commit 55a1984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/editorwidgets/core/qgseditorwidgetwrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
309309
/**
310310
* mFieldIdx the widget feature field id
311311
*/
312-
int mFieldIdx;
312+
int mFieldIdx = -1;
313313

314314
/**
315315
* The feature currently being edited, in its current state

0 commit comments

Comments
 (0)
Please sign in to comment.