Symbol library editor: fix broken "Save As..." feature.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4590
This commit is contained in:
parent
a29b3eb017
commit
c27ca90c13
|
@ -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.
|
// 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;
|
return false;
|
||||||
|
|
||||||
ClearMsgPanel();
|
ClearMsgPanel();
|
||||||
|
|
Loading…
Reference in New Issue