From c27ca90c13a90a55b2447c312fbd3690d0a40930 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Thu, 4 Jun 2020 13:25:36 -0400 Subject: [PATCH] Symbol library editor: fix broken "Save As..." feature. Fixes https://gitlab.com/kicad/code/kicad/-/issues/4590 --- eeschema/libedit/libedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/libedit/libedit.cpp b/eeschema/libedit/libedit.cpp index b73e5eaa56..add4b0e3fd 100644 --- a/eeschema/libedit/libedit.cpp +++ b/eeschema/libedit/libedit.cpp @@ -861,7 +861,7 @@ bool LIB_EDIT_FRAME::saveLibrary( const wxString& aLibrary, bool aNewFile ) } // Verify the user has write privileges before attempting to save the library file. - if( m_libMgr->IsLibraryReadOnly( aLibrary ) ) + if( !aNewFile && m_libMgr->IsLibraryReadOnly( aLibrary ) ) return false; ClearMsgPanel();