Hi all,

I'm making some decent progress with
https://gitlab.com/kicad/code/kicad/-/issues/10926 (WIP here:
https://gitlab.com/kicad/code/kicad/-/merge_requests/1460 ), but have hit
an issue I can't figure out.

I need to set EDA_ITEM visibility in SCH_EDIT_FRAME::DisplayCurrentSheet(),
so I can hide markers on sheets they are not relevant to. I've tried some
flag twiddling, but this isn't affecting the visibility:

if( setVisible )
{
    item->SetFlags( KIGFX::VISIBLE );
}
else
{
     if( item->HasFlag( KIGFX::VISIBLE ) )
         item->XorFlags( KIGFX::VISIBLE );
}

I'd welcome any suggestions on how to change item visibility here.

Many thanks,
James.

-- 
You received this message because you are subscribed to the Google Groups 
"KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to devlist+unsubscr...@kicad.org.
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/CANhYM9GSZ8wU2%3DeHmsbaQ%3DME2SsHtWfPjvWoz6dwWF0BeKrMcg%40mail.gmail.com.

Reply via email to