mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Update msgpanel after entering or exiting group.
Fixes https://gitlab.com/kicad/code/kicad/issues/13031
This commit is contained in:
parent
193e8715f9
commit
abd818a426
@ -517,6 +517,8 @@ void PCB_SELECTION_TOOL::EnterGroup()
|
|||||||
select( titem );
|
select( titem );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
|
||||||
|
|
||||||
view()->Hide( m_enteredGroup, true );
|
view()->Hide( m_enteredGroup, true );
|
||||||
m_enteredGroupOverlay.Add( m_enteredGroup );
|
m_enteredGroupOverlay.Add( m_enteredGroup );
|
||||||
view()->Update( &m_enteredGroupOverlay );
|
view()->Update( &m_enteredGroupOverlay );
|
||||||
@ -534,7 +536,10 @@ void PCB_SELECTION_TOOL::ExitGroup( bool aSelectGroup )
|
|||||||
ClearSelection();
|
ClearSelection();
|
||||||
|
|
||||||
if( aSelectGroup )
|
if( aSelectGroup )
|
||||||
|
{
|
||||||
select( m_enteredGroup );
|
select( m_enteredGroup );
|
||||||
|
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
|
||||||
|
}
|
||||||
|
|
||||||
m_enteredGroupOverlay.Clear();
|
m_enteredGroupOverlay.Clear();
|
||||||
m_enteredGroup = nullptr;
|
m_enteredGroup = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user