Symbol editor: enable save command when only libraries are modified.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6445
This commit is contained in:
parent
cf6620f8fa
commit
fd3348690d
|
@ -361,7 +361,8 @@ void SYMBOL_EDIT_FRAME::setupUIConditions()
|
|||
mgr->SetConditions( ACTIONS::saveAll,
|
||||
ENABLE( libMgrModifiedCond ) );
|
||||
mgr->SetConditions( ACTIONS::save,
|
||||
ENABLE( haveSymbolCond && modifiedDocumentCondition ) );
|
||||
ENABLE( libMgrModifiedCond ||
|
||||
( haveSymbolCond && modifiedDocumentCondition ) ) );
|
||||
mgr->SetConditions( EE_ACTIONS::saveInSchematic, ENABLE( libMgrModifiedCond ) );
|
||||
mgr->SetConditions( ACTIONS::undo,
|
||||
ENABLE( haveSymbolCond && cond.UndoAvailable() ) );
|
||||
|
|
Loading…
Reference in New Issue