From 8fe6c445c1f136311963244e9013899e563c42fc Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 19 Mar 2018 23:06:58 +0900 Subject: [PATCH] improve UI 5 --- src/RisohEditor.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/RisohEditor.cpp b/src/RisohEditor.cpp index 70e878f3..4f7b88d7 100644 --- a/src/RisohEditor.cpp +++ b/src/RisohEditor.cpp @@ -2730,7 +2730,11 @@ void MMainWnd::OnGuiEdit(HWND hwnd) INT nID = (INT)dialog.DialogBoxDx(hwnd); if (nID == IDOK) { + bool shown = m_db.AreMacroIDShown(); + m_db.ShowMacroID(false); MStringW strWide = str_res.Dump(m_db); + m_db.ShowMacroID(shown); + if (CompileParts(hwnd, strWide)) { ResEntry selection(RT_STRING, WORD(0), lang); @@ -2764,7 +2768,11 @@ void MMainWnd::OnGuiEdit(HWND hwnd) INT nID = (INT)dialog.DialogBoxDx(hwnd); if (nID == IDOK) { + bool shown = m_db.AreMacroIDShown(); + m_db.ShowMacroID(false); MStringW strWide = msg_res.Dump(m_db); + m_db.ShowMacroID(shown); + if (CompileParts(hwnd, strWide)) { ResEntry selection(RT_MESSAGETABLE, WORD(0), lang);