Skip to content
Permalink
Browse files

Initialize mFieldIdx to -1

  • Loading branch information
elpaso committed May 15, 2018
1 parent 673fac0 commit 55a1984b28fcebe50ee3fd8b019486d2b80a8cbc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/core/qgseditorwidgetwrapper.h
@@ -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

0 comments on commit 55a1984

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