Handle table layer in undo.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17437
This commit is contained in:
parent
0598ca0f90
commit
37b19c4df7
|
@ -75,6 +75,9 @@ void PCB_TABLE::swapData( BOARD_ITEM* aImage )
|
||||||
|
|
||||||
PCB_TABLE* table = static_cast<PCB_TABLE*>( 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_strokeExternal, table->m_strokeExternal );
|
||||||
std::swap( m_strokeHeader, table->m_strokeHeader );
|
std::swap( m_strokeHeader, table->m_strokeHeader );
|
||||||
std::swap( m_borderStroke, table->m_borderStroke );
|
std::swap( m_borderStroke, table->m_borderStroke );
|
||||||
|
|
Loading…
Reference in New Issue