mirror of
https://github.com/zhongyang219/MusicPlayer2.git
synced 2026-10-25 10:39:48 +08:00
修正从配置文件中载入全局快捷键错误的问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user