Allow AppendBoard even in project mode.

This commit is contained in:
Jeff Young 2022-09-14 11:29:15 +01:00
parent f91487aa36
commit ecd99633d8
1 changed files with 3 additions and 3 deletions

View File

@ -83,10 +83,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
ACTION_CONDITIONS cond; ACTION_CONDITIONS cond;
cond.Enable( FILE_HISTORY::FileHistoryNotEmpty( fileHistory ) ); cond.Enable( FILE_HISTORY::FileHistoryNotEmpty( fileHistory ) );
RegisterUIUpdateHandler( item->GetId(), cond ); RegisterUIUpdateHandler( item->GetId(), cond );
}
fileMenu->Add( PCB_ACTIONS::appendBoard ); fileMenu->Add( PCB_ACTIONS::appendBoard );
fileMenu->AppendSeparator(); fileMenu->AppendSeparator();
}
fileMenu->Add( ACTIONS::save ); fileMenu->Add( ACTIONS::save );