1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-10 15:02:06 +01:00

Codefix: Remove double SetDirty() calls.

This commit is contained in:
Rito12
2025-10-08 17:10:47 +02:00
committed by rubidium42
parent a617d009cc
commit f935e34d90

View File

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