From 4eef4be038d26ddea59a8d2af7728abc7cce9c59 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 23 Aug 2018 00:38:18 +0100 Subject: [PATCH] Make library symbol Save As do a Save Copy As. It feels odd to have a library item moved. Fixes: lp:1788425 * https://bugs.launchpad.net/kicad/+bug/1788425 --- eeschema/libedit.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eeschema/libedit.cpp b/eeschema/libedit.cpp index 610010c52f..7ed60452cd 100644 --- a/eeschema/libedit.cpp +++ b/eeschema/libedit.cpp @@ -398,7 +398,7 @@ void LIB_EDIT_FRAME::savePartAs() itemsToDisplay.push_back( item ); } - EDA_LIST_DIALOG dlg( this, _( "Save Symbol As" ), headers, itemsToDisplay, old_lib, + EDA_LIST_DIALOG dlg( this, _( "Save Copy of Symbol" ), headers, itemsToDisplay, old_lib, nullptr, nullptr, /* sort */ false, /* show headers */ false ); dlg.SetListLabel( _( "Save in library:" ) ); dlg.SetOKLabel( _( "Save" ) ); @@ -465,8 +465,6 @@ void LIB_EDIT_FRAME::savePartAs() if( isCurrentPart( old_lib_id ) ) loadPart( new_name, new_lib, m_unit ); - - m_libMgr->RemovePart( old_name, old_lib ); } }