浏览代码

Fix for hint

nordsoft 3 年之前
父节点
当前提交
268b87052b
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)