UseGalCanvas() no longer means ToolManager() exists.

This commit is contained in:
Jeff Young 2018-08-30 02:37:40 +01:00
parent 538a5d49ee
commit 515135579b
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ int EDA_DRAW_FRAME::WriteHotkeyConfig( struct EDA_HOTKEY_CONFIG* aDescList, wxSt
{
int result = EDA_BASE_FRAME::WriteHotkeyConfig( aDescList, aFullFileName );
if( IsGalCanvasActive() )
if( GetToolManager() )
GetToolManager()->UpdateHotKeys();
return result;