Symbol library editor: fix broken "Save As..." feature.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/4590
This commit is contained in:
Wayne Stambaugh 2020-06-04 13:25:36 -04:00
parent a29b3eb017
commit c27ca90c13
1 changed files with 1 additions and 1 deletions

View File

@ -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();