Browse Source

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/4590
pull/16/head
Wayne Stambaugh 6 years ago
parent
commit
c27ca90c13
  1. 2
      eeschema/libedit/libedit.cpp

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

Loading…
Cancel
Save