From ed16beb5cda8f380611b1fa3f77b50d6ed88c817 Mon Sep 17 00:00:00 2001 From: "Joseph Y. Chen" Date: Tue, 21 Feb 2017 00:04:33 -0700 Subject: [PATCH] Rearranged Part Editor Icon Positions The changes were made to rearrange the positions of the first 5 icons in the part editor so that they are consistent with footprint editor. Signed-off-by: Joseph Y. Chen --- eeschema/tool_lib.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eeschema/tool_lib.cpp b/eeschema/tool_lib.cpp index 49977f4d65..df8d18484e 100644 --- a/eeschema/tool_lib.cpp +++ b/eeschema/tool_lib.cpp @@ -118,13 +118,16 @@ void LIB_EDIT_FRAME::ReCreateHToolbar() KiBitmap( save_library_xpm ), _( "Save current library to disk" ) ); - m_mainToolBar->AddTool( ID_LIBEDIT_DELETE_PART, wxEmptyString, KiBitmap( delete_xpm ), - _( "Delete component in current library" ) ); + m_mainToolBar->AddTool( CreateNewLibAndSavePartId, wxEmptyString, KiBitmap( new_library_xpm ), + _( "Save current component to new library" ) ); - m_mainToolBar->AddSeparator(); m_mainToolBar->AddTool( ID_TO_LIBVIEW, wxEmptyString, KiBitmap( library_browse_xpm ), HELP_RUN_LIB_VIEWER ); + m_mainToolBar->AddSeparator(); + m_mainToolBar->AddTool( ID_LIBEDIT_DELETE_PART, wxEmptyString, KiBitmap( delete_xpm ), + _( "Delete component in current library" ) ); + m_mainToolBar->AddSeparator(); m_mainToolBar->AddTool( ID_LIBEDIT_NEW_PART, wxEmptyString, KiBitmap( new_component_xpm ), _( "Create a new component" ) ); @@ -147,9 +150,6 @@ void LIB_EDIT_FRAME::ReCreateHToolbar() m_mainToolBar->AddTool( ExportPartId, wxEmptyString, KiBitmap( export_xpm ), _( "Export component" ) ); - m_mainToolBar->AddTool( CreateNewLibAndSavePartId, wxEmptyString, KiBitmap( new_library_xpm ), - _( "Save current component to new library" ) ); - m_mainToolBar->AddSeparator(); msg = AddHotkeyName( _( "Undo last command" ), g_Libedit_Hokeys_Descr, HK_UNDO, IS_COMMENT ); m_mainToolBar->AddTool( wxID_UNDO, wxEmptyString, KiBitmap( undo_xpm ), msg );