diff --git a/eeschema/eeconfig.cpp b/eeschema/eeconfig.cpp index a96610097b..b1f7a36864 100644 --- a/eeschema/eeconfig.cpp +++ b/eeschema/eeconfig.cpp @@ -112,6 +112,8 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose ) FullFileName += wxT("libedit"); FullFileName += DEFAULT_HOTKEY_FILENAME_EXT; frame->ReadHotkeyConfigFile(FullFileName, s_LibEdit_Hotkey_List, verbose); + + return TRUE; } diff --git a/pcbnew/pcbcfg.cpp b/pcbnew/pcbcfg.cpp index 94ece1e740..52c7a7aa4c 100644 --- a/pcbnew/pcbcfg.cpp +++ b/pcbnew/pcbcfg.cpp @@ -110,7 +110,7 @@ wxString FullFileName; bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose ) /***************************************************************/ /* - * Read the hotkey files config for eeschema and libedit + * Read the hotkey files config for pcbnew and module_edit */ { wxString FullFileName = DEFAULT_HOTKEY_FILENAME_PATH; @@ -121,8 +121,9 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose ) FullFileName += wxT("module_edit"); FullFileName += DEFAULT_HOTKEY_FILENAME_EXT; frame->ReadHotkeyConfigFile(FullFileName, s_module_edit_Hotkey_List, verbose); -} + return TRUE; +} /**************************************************************************/