From f550ecaf1f6c132b94891a64aa808b6255305027 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 14 Jun 2019 20:50:46 +0200 Subject: [PATCH] Better tooltip and fix a typo. --- common/dialogs/panel_hotkeys_editor.cpp | 4 ++-- pcbnew/menubar_footprint_editor.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/dialogs/panel_hotkeys_editor.cpp b/common/dialogs/panel_hotkeys_editor.cpp index 00e3d9dc88..67b1a6b7a0 100644 --- a/common/dialogs/panel_hotkeys_editor.cpp +++ b/common/dialogs/panel_hotkeys_editor.cpp @@ -172,7 +172,7 @@ void PANEL_HOTKEYS_EDITOR::ImportHotKeys() { wxString ext = DEFAULT_HOTKEY_FILENAME_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 ); if( filename.IsEmpty() ) @@ -191,7 +191,7 @@ void PANEL_HOTKEYS_EDITOR::ImportHotKeys() hotkey.m_EditKeycode = importedHotKeys[ hotkey.m_Actions[ 0 ]->GetName() ]; } } - + m_hotkeyListCtrl->TransferDataToControl(); } diff --git a/pcbnew/menubar_footprint_editor.cpp b/pcbnew/menubar_footprint_editor.cpp index 000cc08181..42162aed71 100644 --- a/pcbnew/menubar_footprint_editor.cpp +++ b/pcbnew/menubar_footprint_editor.cpp @@ -84,7 +84,7 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() submenuImport->SetIcon( import_xpm ); submenuImport->Add( PCB_ACTIONS::importFootprint ); - submenuImport->Add( _( "&Impot Graphics..." ), + submenuImport->Add( _( "&Import Graphics..." ), _( "Import 2D Drawing file to Footprint Editor on Drawings layer" ), ID_GEN_IMPORT_GRAPHICS_FILE, import_vector_xpm );