Codefix: Remove double SetDirty() calls.

This commit is contained in:
Rito12
2025-10-08 17:10:47 +02:00
committed by dP
parent 4a555528fd
commit be3df87dd9

View File

@@ -2000,7 +2000,6 @@ struct BuildVehicleWindow : Window {
/* We need to refresh if a filter is removed. */
this->eng_list.ForceRebuild();
this->SetDirty();
break;
}
@@ -2012,7 +2011,6 @@ struct BuildVehicleWindow : Window {
SetBadgeFilter(this->badge_filter_choices, BadgeID(index));
}
this->eng_list.ForceRebuild();
this->SetDirty();
}
break;
}