Update status bar when selected items are modified.

Fixes: lp:1831801
* https://bugs.launchpad.net/kicad/+bug/1831801
This commit is contained in:
Jeff Young 2019-06-10 23:42:02 +01:00
parent b3e30e50c8
commit e9017ce0b1
3 changed files with 5 additions and 0 deletions

View File

@ -370,6 +370,7 @@ void EE_INSPECTION_TOOL::setTransitions()
Go( &EE_INSPECTION_TOOL::UpdateMessagePanel, EVENTS::SelectedEvent );
Go( &EE_INSPECTION_TOOL::UpdateMessagePanel, EVENTS::UnselectedEvent );
Go( &EE_INSPECTION_TOOL::UpdateMessagePanel, EVENTS::ClearedEvent );
Go( &EE_INSPECTION_TOOL::UpdateMessagePanel, EVENTS::SelectedItemsModified );
}

View File

@ -865,7 +865,10 @@ int PCB_EDITOR_CONTROL::modifyLockSelected( MODIFY_MODE aMode )
}
if( modified )
{
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
m_frame->OnModify();
}
return 0;
}

View File

@ -1087,6 +1087,7 @@ void PCBNEW_CONTROL::setTransitions()
Go( &PCBNEW_CONTROL::UpdateMessagePanel, EVENTS::SelectedEvent );
Go( &PCBNEW_CONTROL::UpdateMessagePanel, EVENTS::UnselectedEvent );
Go( &PCBNEW_CONTROL::UpdateMessagePanel, EVENTS::ClearedEvent );
Go( &PCBNEW_CONTROL::UpdateMessagePanel, EVENTS::SelectedItemsModified );
}