Fix Bus Management UI flow on macOS

Fixes https://gitlab.com/kicad/code/kicad/issues/7510
This commit is contained in:
James Jackson 2021-02-22 21:03:11 +00:00 committed by Jon Evans
parent d087ede21d
commit eee04f4482
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ void DIALOG_BUS_MANAGER::OnRemoveBus( wxCommandEvent& aEvent )
wxASSERT( m_active_alias == m_aliases[ i ] );
m_bus_list_view->DeleteItem( i );
m_bus_list_view->Update();
m_aliases.erase( m_aliases.begin() + i );
m_bus_edit->Clear();