Handle table layer in undo.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17437
This commit is contained in:
Jeff Young 2024-03-17 20:38:47 +00:00
parent 0598ca0f90
commit 37b19c4df7
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ void PCB_TABLE::swapData( BOARD_ITEM* aImage )
PCB_TABLE* table = static_cast<PCB_TABLE*>( aImage );
std::swap( m_layer, table->m_layer );
std::swap( m_isLocked, table->m_isLocked );
std::swap( m_strokeExternal, table->m_strokeExternal );
std::swap( m_strokeHeader, table->m_strokeHeader );
std::swap( m_borderStroke, table->m_borderStroke );