Clear hidden flags on undo.

Fixes: lp:1803038
* https://bugs.launchpad.net/kicad/+bug/1803038
This commit is contained in:
Jeff Young 2018-12-21 16:38:28 +00:00
parent 9dedbc74a3
commit 6eca924365
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList, bool aRed
// the cache data can be invalid
GetCanvas()->GetGAL()->ClearCache();
GetCanvas()->GetView()->ClearHiddenFlags();
GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL );
}