Update shown text cache in undo/redo.
Fixes: lp:1837772 * https://bugs.launchpad.net/kicad/+bug/1837772
This commit is contained in:
parent
4e40534d21
commit
daac54b5d2
|
@ -275,6 +275,7 @@ void SCH_TEXT::SwapData( SCH_ITEM* aItem )
|
|||
SCH_TEXT* item = (SCH_TEXT*) aItem;
|
||||
|
||||
std::swap( m_Text, item->m_Text );
|
||||
std::swap( m_shown_text, item->m_shown_text );
|
||||
std::swap( m_Layer, item->m_Layer );
|
||||
|
||||
std::swap( m_shape, item->m_shape );
|
||||
|
|
Loading…
Reference in New Issue