Skip to content

Commit

Permalink
Formspec: No spec ID for static text labels
Browse files Browse the repository at this point in the history
Fixes #9634
  • Loading branch information
SmallJoker committed Apr 11, 2020
1 parent fbf74dc commit 01b3f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/guiFormSpecMenu.cpp
Expand Up @@ -1424,7 +1424,7 @@ void GUIFormSpecMenu::createTextField(parserData *data, FieldSpec &spec,
if (!is_editable && !is_multiline) {
// spec field id to 0, this stops submit searching for a value that isn't there
gui::StaticText::add(Environment, spec.flabel.c_str(), rect, false, true,
this, spec.fid);
this, 0);
return;
}

Expand Down

0 comments on commit 01b3f26

Please sign in to comment.