UseGalCanvas() no longer means ToolManager() exists.
This commit is contained in:
parent
538a5d49ee
commit
515135579b
|
@ -476,7 +476,7 @@ int EDA_DRAW_FRAME::WriteHotkeyConfig( struct EDA_HOTKEY_CONFIG* aDescList, wxSt
|
||||||
{
|
{
|
||||||
int result = EDA_BASE_FRAME::WriteHotkeyConfig( aDescList, aFullFileName );
|
int result = EDA_BASE_FRAME::WriteHotkeyConfig( aDescList, aFullFileName );
|
||||||
|
|
||||||
if( IsGalCanvasActive() )
|
if( GetToolManager() )
|
||||||
GetToolManager()->UpdateHotKeys();
|
GetToolManager()->UpdateHotKeys();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue