From f935e34d90b36543fc4331b4312b50d856ef8f8d Mon Sep 17 00:00:00 2001 From: Rito12 Date: Wed, 8 Oct 2025 17:10:47 +0200 Subject: [PATCH] Codefix: Remove double SetDirty() calls. --- src/build_vehicle_gui.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index f21a424f1e..812e9e3280 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -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; }