Allow adding a bus alias while one is selected

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7510
This commit is contained in:
Jon Evans 2021-02-13 10:55:45 -05:00
parent 00ab36092c
commit cb27d14ecb
1 changed files with 0 additions and 2 deletions

View File

@ -273,7 +273,6 @@ void DIALOG_BUS_MANAGER::OnSelectBus( wxListEvent& event )
m_bus_edit->ChangeValue( alias->GetName() );
m_btn_add_bus->Disable();
m_btn_rename_bus->Enable();
m_btn_remove_bus->Enable();
@ -303,7 +302,6 @@ void DIALOG_BUS_MANAGER::OnSelectBus( wxListEvent& event )
m_signal_edit->Clear();
m_signal_list_view->DeleteAllItems();
m_btn_add_bus->Enable();
m_btn_rename_bus->Disable();
m_btn_remove_bus->Disable();