Fix macro save problem on exit. (closes #831, fixes #830)

This commit is contained in:
Christophe Meriaux 2015-09-01 13:30:54 +02:00 committed by Don Ho
parent 27787fa062
commit 4df21f16dc

View File

@ -3907,6 +3907,7 @@ bool Notepad_plus::addCurrentMacro()
theMacros.push_back(ms);
::InsertMenu(hMacroMenu, posBase + nbMacro, MF_BYPOSITION, cmdID, ms.toMenuItemString().c_str());
_accelerator.updateShortcuts();
(NppParameters::getInstance())->setShortcutDirty();
return true;
}
return false;