Browse Source

Fix compiling

nordsoft 2 years ago
parent
commit
78397d6d1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/gui/InterfaceObjectConfigurable.cpp

+ 1 - 1
client/gui/InterfaceObjectConfigurable.cpp

@@ -566,7 +566,7 @@ std::shared_ptr<CTextInput> InterfaceObjectConfigurable::buildTextInput(const Js
 	if(!config["callback"].isNull())
 		result->cb += callbacks_string.at(config["callback"].String());
 	if(!config["help"].isNull())
-		result->helpBox = readText(config["help"]);
+		result->setHelpText(readText(config["help"]));
 	return result;
 }