mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user