Browse Source

Update msgpanel after entering or exiting group.

Fixes https://gitlab.com/kicad/code/kicad/issues/13031
7.0
Jeff Young 3 years ago
parent
commit
abd818a426
  1. 5
      pcbnew/tools/pcb_selection_tool.cpp

5
pcbnew/tools/pcb_selection_tool.cpp

@ -517,6 +517,8 @@ void PCB_SELECTION_TOOL::EnterGroup()
select( titem );
} );
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
view()->Hide( m_enteredGroup, true );
m_enteredGroupOverlay.Add( m_enteredGroup );
view()->Update( &m_enteredGroupOverlay );
@ -534,7 +536,10 @@ void PCB_SELECTION_TOOL::ExitGroup( bool aSelectGroup )
ClearSelection();
if( aSelectGroup )
{
select( m_enteredGroup );
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
}
m_enteredGroupOverlay.Clear();
m_enteredGroup = nullptr;

Loading…
Cancel
Save