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