Symbol editor: fix unnecessary "Save As..." prompt.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/4818
This commit is contained in:
Wayne Stambaugh 2020-07-08 14:06:10 -04:00
parent 485518a5e2
commit 41dd31babf
1 changed files with 2 additions and 2 deletions

View File

@ -895,8 +895,8 @@ bool LIB_EDIT_FRAME::saveAllLibraries( bool aRequireConfirmation )
// If saving under existing name fails then do a Save As..., and if that
// fails then cancel close action.
if( !m_libMgr->IsLibraryReadOnly( libNickname )
&& !saveLibrary( libNickname, false ) )
return false;
&& saveLibrary( libNickname, false ) )
continue;
if( !saveLibrary( libNickname, true ) )
return false;