Fixed the macro deletion bug

Fix the issue that deleting a Macro doesn't remove it from the Run Macro multiple times dialog until restart

Fix #4526, close #4532
This commit is contained in:
SinghRajenM 2018-05-26 19:30:50 +05:30 committed by Don HO
parent 1482420fcb
commit a83fa30de6

View File

@ -51,7 +51,12 @@ public :
if (!isCreated()) if (!isCreated())
create(IDD_RUN_MACRO_DLG, isRTL); create(IDD_RUN_MACRO_DLG, isRTL);
else else
{
// Shortcut might have been updated for current session
// So reload the macro list (issue #4526)
initMacroList();
::ShowWindow(_hSelf, SW_SHOW); ::ShowWindow(_hSelf, SW_SHOW);
}
}; };
void initMacroList(); void initMacroList();