Hot keys settings are synchronized between GAL & legacy

This commit is contained in:
Maciej Suminski
2015-05-05 20:39:42 +02:00
parent 99e5228948
commit da75c52665
30 changed files with 397 additions and 108 deletions
+10
View File
@@ -41,6 +41,16 @@
* See hotkeys.cpp
*/
EDA_HOTKEY* FOOTPRINT_EDIT_FRAME::GetHotKeyDescription( int aCommand ) const
{
EDA_HOTKEY* HK_Descr = GetDescriptorFromCommand( aCommand, common_Hotkey_List );
if( HK_Descr == NULL )
HK_Descr = GetDescriptorFromCommand( aCommand, module_edit_Hotkey_List );
return HK_Descr;
}
bool FOOTPRINT_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition,
EDA_ITEM* aItem )