diff --git a/tools/apps/hgjson/DlgOptJson.cpp b/tools/apps/hgjson/DlgOptJson.cpp index 6971fc6..b62a118 100644 --- a/tools/apps/hgjson/DlgOptJson.cpp +++ b/tools/apps/hgjson/DlgOptJson.cpp @@ -1053,10 +1053,14 @@ void CDlgOptJson::set_button_check(UINT id, bool check) std::wstring CDlgOptJson::get_json_text(const wchar_t* tab) { known_file_util::IJsonW* root = known_file_util::create_jsonW(), * child = NULL; + std::wstring nofid(L""); + int nfidcnt = 0; for (auto& v : opts_) { child = v.to_json(); + if (v.fix_id <= 0) + nofid += L" " + std::to_wstring(++nfidcnt) + L"กข " + v.title + L"\r\n"; if (child) { if(wcscmp(child->key(), L"global")) @@ -1064,6 +1068,11 @@ std::wstring CDlgOptJson::get_json_text(const wchar_t* tab) child->release(); } } + if (!nofid.empty()) + { + nofid.insert(0, L" \u8BF7\u6CE8\u610F\uFF0C\u4EE5\u4E0B\u5C5E\u6027\u6CA1\u6709\u63D0\u4F9B\uFF26\uFF49\uFF58\uFF45\uFF44\uFF0D\uFF29\uFF24\u6570\u636E\uFF0C\u5C06\r\n\u65E0\u6CD5\u88AB\u6620\u5C04\u5230\uFF34\uFF37\uFF21\uFF29\uFF2E\u534F\u8BAE\u4E2D\uFF01\r\n\r\n"); + MessageBox(nofid.c_str(), TEXT("Notice"), MB_OK | MB_ICONWARNING); + } std::wstring cont(L""); diff --git a/tools/solution/Release/hgjson.exe b/tools/solution/Release/hgjson.exe index 2ab699f..6386633 100644 Binary files a/tools/solution/Release/hgjson.exe and b/tools/solution/Release/hgjson.exe differ