Browse Source

Fix for hint

nordsoft 3 years ago
parent
commit
268b87052b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client/gui/InterfaceObjectConfigurable.cpp

+ 2 - 2
client/gui/InterfaceObjectConfigurable.cpp

@@ -154,8 +154,8 @@ std::pair<std::string, std::string> InterfaceObjectConfigurable::readHintText(co
 		
 		if(config.getType() == JsonNode::JsonType::DATA_STRUCT)
 		{
-			result.first = config["hover"].String();
-			result.second = config["help"].String();
+			result.first = readText(config["hover"]);
+			result.second = readText(config["help"]);
 			return result;
 		}
 		if(config.getType() == JsonNode::JsonType::DATA_STRING)