Fix typo 'cancle' -> 'cancel' (#13769)

Co-authored-by: Shantanu Joshi <shan@example.com>
This commit is contained in:
Shantanu Joshi
2026-05-21 13:18:52 +03:00
committed by GitHub
co-authored by Shantanu Joshi
parent b81f865784
commit f203cdd682
6 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -824,7 +824,7 @@ bool PartSkipDialog::IsAllChecked()
return true;
}
bool PartSkipDialog::IsAllCancled()
bool PartSkipDialog::IsAllCanceled()
{
for (auto &[part_id, part_state] : m_parts_state) {
if (part_state == PartState::psChecked) return false;
@@ -851,7 +851,7 @@ void PartSkipDialog::OnAllCheckbox(wxCommandEvent &event)
void PartSkipDialog::UpdateApplyButtonStatus()
{
if (IsAllCancled()) {
if (IsAllCanceled()) {
m_apply_btn->SetStyle(ButtonStyle::Regular, ButtonType::Choice);
m_apply_btn->SetToolTip(_L("Nothing selected"));
m_enable_apply_btn = false;