From 659c783e5ef09ae2b936c46949119e1d49b4e726 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Thu, 27 Mar 2025 14:06:08 -0400 Subject: [PATCH] API: unbreak the build (SwapData -> SwapItemData) --- eeschema/api/api_handler_sch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/api/api_handler_sch.cpp b/eeschema/api/api_handler_sch.cpp index 96cc61d56d..44b68990fe 100644 --- a/eeschema/api/api_handler_sch.cpp +++ b/eeschema/api/api_handler_sch.cpp @@ -264,7 +264,7 @@ HANDLER_RESULT API_HANDLER_SCH::handleCreateUpdateItemsIntern if( SCH_ITEM* schItem = dynamic_cast( edaItem ) ) { - schItem->SwapData( static_cast( item.get() ) ); + schItem->SwapItemData( static_cast( item.get() ) ); schItem->Serialize( newItem ); commit->Modify( schItem ); }