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:
Dentomologist 2024-08-25 16:06:44 -07:00
parent f4db168a8e
commit 9e6a4e9d35
1 changed files with 0 additions and 1 deletions

View File

@ -238,7 +238,6 @@ void ARCodeWidget::LoadCodes()
m_code_remove->setEnabled(false);
UpdateList();
OnSelectionChanged();
}
void ARCodeWidget::SaveCodes()