Skip to content

Commit 01b3f26

Browse files
committedApr 11, 2020
Formspec: No spec ID for static text labels
Fixes #9634
1 parent fbf74dc commit 01b3f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/guiFormSpecMenu.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ void GUIFormSpecMenu::createTextField(parserData *data, FieldSpec &spec,
14241424
if (!is_editable && !is_multiline) {
14251425
// spec field id to 0, this stops submit searching for a value that isn't there
14261426
gui::StaticText::add(Environment, spec.flabel.c_str(), rect, false, true,
1427-
this, spec.fid);
1427+
this, 0);
14281428
return;
14291429
}
14301430

0 commit comments

Comments
 (0)
Please sign in to comment.