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