From d1c9572bcc3faef93d8124df95712440754d3b91 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 16 Jul 2021 12:03:17 -0700 Subject: [PATCH] Allow editing symbols when added to schematic We do not allow editing symbols in Legacy libraries, but once they are added to the schematic, they become editable --- eeschema/dialogs/dialog_lib_symbol_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_lib_symbol_properties.cpp b/eeschema/dialogs/dialog_lib_symbol_properties.cpp index 09f3e6edf5..e639f7a992 100644 --- a/eeschema/dialogs/dialog_lib_symbol_properties.cpp +++ b/eeschema/dialogs/dialog_lib_symbol_properties.cpp @@ -85,7 +85,7 @@ DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES( SYMBOL_EDIT_FRAME* a m_deleteFilterButton->SetBitmap( KiBitmap( BITMAPS::small_trash ) ); m_editFilterButton->SetBitmap( KiBitmap( BITMAPS::small_edit ) ); - if( aParent->IsSymbolFromLegacyLibrary() ) + if( aParent->IsSymbolFromLegacyLibrary() && !aParent->IsSymbolFromSchematic() ) { m_stdSizerButtonCancel->SetDefault(); m_stdSizerButtonOK->SetLabel( _( "Read Only" ) );