mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -238,7 +238,6 @@ void ARCodeWidget::LoadCodes()
|
|||
m_code_remove->setEnabled(false);
|
||||
|
||||
UpdateList();
|
||||
OnSelectionChanged();
|
||||
}
|
||||
|
||||
void ARCodeWidget::SaveCodes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue