修正从配置文件中载入全局快捷键错误的问题

This commit is contained in:
zhongyang219
2021-07-08 20:32:08 +08:00
parent e563bcd784
commit b9044cfb66
+1 -1
View File
@@ -54,11 +54,11 @@ wstring CHotKey::ToString() const
void CHotKey::FromString(const wstring & str)
{
Clear();
vector<wstring> str_list;
CCommon::StringSplit(str, L'+', str_list);
if (str_list.empty())
{
Clear();
return;
}