mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-10 06:52:05 +01:00
Codefix: Remove double SetDirty() calls.
This commit is contained in:
@@ -1931,7 +1931,6 @@ struct BuildVehicleWindow : Window {
|
||||
|
||||
/* We need to refresh if a filter is removed. */
|
||||
this->eng_list.ForceRebuild();
|
||||
this->SetDirty();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1943,7 +1942,6 @@ struct BuildVehicleWindow : Window {
|
||||
SetBadgeFilter(this->badge_filter_choices, BadgeID(index));
|
||||
}
|
||||
this->eng_list.ForceRebuild();
|
||||
this->SetDirty();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user