Browse Source

Update shown text cache in undo/redo.

Fixes: lp:1837772
* https://bugs.launchpad.net/kicad/+bug/1837772
pull/15/head
Jeff Young 6 years ago
parent
commit
daac54b5d2
  1. 1
      eeschema/sch_text.cpp

1
eeschema/sch_text.cpp

@ -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…
Cancel
Save