Better tooltip and fix a typo.
This commit is contained in:
parent
6dc8e96a34
commit
f550ecaf1f
|
@ -172,7 +172,7 @@ void PANEL_HOTKEYS_EDITOR::ImportHotKeys()
|
||||||
{
|
{
|
||||||
wxString ext = DEFAULT_HOTKEY_FILENAME_EXT;
|
wxString ext = DEFAULT_HOTKEY_FILENAME_EXT;
|
||||||
wxString mask = wxT( "*." ) + ext;
|
wxString mask = wxT( "*." ) + ext;
|
||||||
wxString filename = EDA_FILE_SELECTOR( _( "Read Hotkeys File:" ), m_frame->GetMruPath(),
|
wxString filename = EDA_FILE_SELECTOR( _( "Import Hotkeys File:" ), m_frame->GetMruPath(),
|
||||||
wxEmptyString, ext, mask, this, wxFD_OPEN, true );
|
wxEmptyString, ext, mask, this, wxFD_OPEN, true );
|
||||||
|
|
||||||
if( filename.IsEmpty() )
|
if( filename.IsEmpty() )
|
||||||
|
@ -191,7 +191,7 @@ void PANEL_HOTKEYS_EDITOR::ImportHotKeys()
|
||||||
hotkey.m_EditKeycode = importedHotKeys[ hotkey.m_Actions[ 0 ]->GetName() ];
|
hotkey.m_EditKeycode = importedHotKeys[ hotkey.m_Actions[ 0 ]->GetName() ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_hotkeyListCtrl->TransferDataToControl();
|
m_hotkeyListCtrl->TransferDataToControl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar()
|
||||||
submenuImport->SetIcon( import_xpm );
|
submenuImport->SetIcon( import_xpm );
|
||||||
|
|
||||||
submenuImport->Add( PCB_ACTIONS::importFootprint );
|
submenuImport->Add( PCB_ACTIONS::importFootprint );
|
||||||
submenuImport->Add( _( "&Impot Graphics..." ),
|
submenuImport->Add( _( "&Import Graphics..." ),
|
||||||
_( "Import 2D Drawing file to Footprint Editor on Drawings layer" ),
|
_( "Import 2D Drawing file to Footprint Editor on Drawings layer" ),
|
||||||
ID_GEN_IMPORT_GRAPHICS_FILE, import_vector_xpm );
|
ID_GEN_IMPORT_GRAPHICS_FILE, import_vector_xpm );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue