Fix issue with hotkeys getting overridden by non-running Kifaces.

This commit is contained in:
Jeff Young 2022-01-10 23:41:27 +00:00
parent dcab2833b8
commit cdb411bb14
1 changed files with 3 additions and 1 deletions

View File

@ -111,6 +111,8 @@ void HOTKEY_STORE::Init( std::vector<TOOL_ACTION*> aActionsList, bool aIncludeRe
HOTKEY& hotkey = masterMap[ action->GetName() ];
hotkey.m_Actions.push_back( action );
if( !hotkey.m_EditKeycode )
hotkey.m_EditKeycode = action->GetHotKey();
}