Move more stuff to ACTIONs framework.

This commit is contained in:
Jeff Young
2025-05-23 15:19:49 +01:00
parent 6a9b427562
commit 4bb54b3439
17 changed files with 492 additions and 574 deletions
+2 -2
View File
@@ -169,7 +169,7 @@ HANDLER_RESULT<Empty> API_HANDLER_PCB::handleSaveDocument(
if( !documentValidation )
return tl::unexpected( documentValidation.error() );
frame()->Files_io_from_id( ID_SAVE_BOARD );
frame()->SaveBoard();
return Empty();
}
@@ -219,7 +219,7 @@ HANDLER_RESULT<Empty> API_HANDLER_PCB::handleSaveCopyOfDocument(
if( board->GetFileName().Matches( boardPath.GetFullPath() ) )
{
frame()->Files_io_from_id( ID_SAVE_BOARD );
frame()->SaveBoard();
return Empty();
}