mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
ARCodeWidget: Remove unnecessary call to OnSelectionChanged
Before the call to OnSelectionChange, m_code_edit and m_code_remove are disabled and UpdateList calls m_code_list->clear(), thereby deselecting any selected items. When no items are selected, OnSelectionChange disables m_code_edit and m_code_remove and then returns. Since that was already done, the call doesn't change anything and can be removed.
This commit is contained in:
parent
f4db168a8e
commit
9e6a4e9d35
@ -238,7 +238,6 @@ void ARCodeWidget::LoadCodes()
|
||||
m_code_remove->setEnabled(false);
|
||||
|
||||
UpdateList();
|
||||
OnSelectionChanged();
|
||||
}
|
||||
|
||||
void ARCodeWidget::SaveCodes()
|
||||
|
Loading…
x
Reference in New Issue
Block a user