projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf74dc
)
Formspec: No spec ID for static text labels
author
SmallJoker
<mk939@ymail.com>
Sat, 11 Apr 2020 13:31:02 +0000
(15:31 +0200)
committer
SmallJoker
<mk939@ymail.com>
Sat, 11 Apr 2020 13:31:02 +0000
(15:31 +0200)
Fixes #9634
src/gui/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/guiFormSpecMenu.cpp
b/src/gui/guiFormSpecMenu.cpp
index 59cd130ef2cc313a3096d4a486f77cdb87ee6d06..acb153569e1b3a13ba5ff6de2db23c8f90df4bdf 100644
(file)
--- a/
src/gui/guiFormSpecMenu.cpp
+++ b/
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;
}