Fix missing check against DELETED_BOARD_ITEM::GetInstance().
Fixes https://gitlab.com/kicad/code/kicad/issues/7575
This commit is contained in:
parent
309fb0825c
commit
0c2870c65f
|
@ -228,7 +228,7 @@ void PCB_BASE_FRAME::FocusOnItem( BOARD_ITEM* aItem )
|
|||
GetCanvas()->Refresh();
|
||||
}
|
||||
|
||||
if( aItem )
|
||||
if( aItem && aItem != DELETED_BOARD_ITEM::GetInstance() )
|
||||
{
|
||||
aItem->SetBrightened();
|
||||
|
||||
|
|
Loading…
Reference in New Issue