Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Formspec: No spec ID for static text labels
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/gui/guiFormSpecMenu.cpp
|
@@ -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; |
|
|
} |
|
|
|
|
|