Add format-icons for workspace's name entry
This commit is contained in:
parent
b9f83dc77d
commit
83d679bf72
|
@ -283,6 +283,8 @@ std::string Workspaces::getIcon(const std::string &name, const Json::Value &node
|
||||||
return config_["format-icons"]["persistent"].asString();
|
return config_["format-icons"]["persistent"].asString();
|
||||||
} else if (config_["format-icons"][key].isString()) {
|
} else if (config_["format-icons"][key].isString()) {
|
||||||
return config_["format-icons"][key].asString();
|
return config_["format-icons"][key].asString();
|
||||||
|
} else if (config_["format-icons"][trimWorkspaceName(key)].isString()) {
|
||||||
|
return config_["format-icons"][trimWorkspaceName(key)].asString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
|
|
Loading…
Reference in New Issue