mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
parent
fbf74dc524
commit
01b3f26c7b
@ -1424,7 +1424,7 @@ void GUIFormSpecMenu::createTextField(parserData *data, FieldSpec &spec,
|
|||||||
if (!is_editable && !is_multiline) {
|
if (!is_editable && !is_multiline) {
|
||||||
// spec field id to 0, this stops submit searching for a value that isn't there
|
// 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,
|
gui::StaticText::add(Environment, spec.flabel.c_str(), rect, false, true,
|
||||||
this, spec.fid);
|
this, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user