diff options
author | SmallJoker <mk939@ymail.com> | 2020-04-11 15:31:02 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2020-04-11 15:31:02 +0200 |
commit | 01b3f26c7bc62305b205136bb95a2a4550761c3c (patch) | |
tree | 028641b0d9452887fd4e08b234a860bd270b0d00 | |
parent | fbf74dc52456b13b0dbd7bb9d3206e5828254910 (diff) | |
download | minetest-01b3f26c7bc62305b205136bb95a2a4550761c3c.tar.gz minetest-01b3f26c7bc62305b205136bb95a2a4550761c3c.tar.bz2 minetest-01b3f26c7bc62305b205136bb95a2a4550761c3c.zip |
Formspec: No spec ID for static text labels
Fixes #9634
-rw-r--r-- | src/gui/guiFormSpecMenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 59cd130ef..acb153569 100644 --- 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; } |