fix to_json lost group bug

This commit is contained in:
gb 2023-09-14 15:28:48 +08:00
parent 31ffd783e2
commit cf08c8f900
2 changed files with 2 additions and 1 deletions

View File

@ -1535,7 +1535,8 @@ bool CDlgOptJson::load_from_json_text(const wchar_t* txt, std::wstring* err_msg)
} }
else else
{ {
opt.group = group; if(opt.group.empty() && !group.empty())
opt.group = group;
insert_new_item(opt, false); insert_new_item(opt, false);
} }
} }

Binary file not shown.