From 475f822ff6ac744c721c3ec769e51251f01d2504 Mon Sep 17 00:00:00 2001 From: nicholas-inocencio Date: Mon, 14 Oct 2024 10:57:41 -0500 Subject: [PATCH] FlightData: Fix transponder mode "ON" display + "ON" button should be bolded when all but mode C are enabled; previous behavior was all but mode S. --- GCSViews/FlightData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GCSViews/FlightData.cs b/GCSViews/FlightData.cs index b88a1c9499..477dc77dc8 100644 --- a/GCSViews/FlightData.cs +++ b/GCSViews/FlightData.cs @@ -6271,8 +6271,8 @@ private void updateTransponder() !Mode_clb.GetItemChecked(2) && !Mode_clb.GetItemChecked(3)) ? FontStyle.Bold : FontStyle.Regular); ON_btn.Font = new Font(ON_btn.Font, ( Mode_clb.GetItemChecked(0) && - Mode_clb.GetItemChecked(1) && - !Mode_clb.GetItemChecked(2) && + !Mode_clb.GetItemChecked(1) && + Mode_clb.GetItemChecked(2) && Mode_clb.GetItemChecked(3)) ? FontStyle.Bold : FontStyle.Regular); ALT_btn.Font = new Font(ALT_btn.Font, ( Mode_clb.GetItemChecked(0) && Mode_clb.GetItemChecked(1) &&