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,8 +361,9 @@ void SYMBOL_EDIT_FRAME::setupUIConditions()
|
|||
mgr->SetConditions( ACTIONS::saveAll,
|
||||
ENABLE( libMgrModifiedCond ) );
|
||||
mgr->SetConditions( ACTIONS::save,
|
||||
ENABLE( haveSymbolCond && modifiedDocumentCondition ) );
|
||||
mgr->SetConditions( EE_ACTIONS::saveInSchematic, ENABLE( libMgrModifiedCond ) );
|
||||
ENABLE( libMgrModifiedCond ||
|
||||
( haveSymbolCond && modifiedDocumentCondition ) ) );
|
||||
mgr->SetConditions( EE_ACTIONS::saveInSchematic, ENABLE( libMgrModifiedCond ) );
|
||||
mgr->SetConditions( ACTIONS::undo,
|
||||
ENABLE( haveSymbolCond && cond.UndoAvailable() ) );
|
||||
mgr->SetConditions( ACTIONS::redo,
|
||||
|
|
Loading…
Reference in New Issue