mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +01:00
parent
fbf74dc524
commit
01b3f26c7b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user