Clear hidden flags on undo.
Fixes: lp:1803038 * https://bugs.launchpad.net/kicad/+bug/1803038
This commit is contained in:
parent
9dedbc74a3
commit
6eca924365
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue