Browse Source

Handle table layer in undo.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17437
newinvert
Jeff Young 2 years ago
parent
commit
37b19c4df7
  1. 3
      pcbnew/pcb_table.cpp

3
pcbnew/pcb_table.cpp

@ -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 );

Loading…
Cancel
Save