Skip to content

Commit

Permalink
Update Version Number
Browse files Browse the repository at this point in the history
  • Loading branch information
VNGDArchangel-93 authored and FPGSchiba committed Oct 11, 2023
1 parent deb8a67 commit d52991c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions DCS-SR-Client/UI/ClientWindow/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public partial class MainWindow : MetroWindow
private readonly DispatcherTimer _updateTimer;
private ServerAddress _serverAddress;
private readonly DelegateCommand _connectCommand;

private string version = "loading";

private readonly GlobalSettingsStore _globalSettings = GlobalSettingsStore.Instance;
Expand Down Expand Up @@ -953,7 +953,7 @@ private void Connect()
//Handle Aircraft Name - find matching profile and select if you can
name = Regex.Replace(name.Trim().ToLower(), "[^a-zA-Z0-9]", "");
//add one to seat so seat_2 is copilot
var nameSeat = $"_{seat+1}";
var nameSeat = $"_{seat + 1}";

foreach (var profileName in _globalSettings.ProfileSettingsStore.ProfileNames)
{
Expand Down Expand Up @@ -1418,7 +1418,8 @@ private void ToggleOverlay(bool uiButton, bool awacs, bool twoRadioOverlay)
_radioOverlayWindowFive?.Close();
_radioOverlayWindowFive = null;
}
} else
}
else
{
if ((_radioOverlayWindowTwo == null) || !_radioOverlayWindowTwo.IsVisible ||
(_radioOverlayWindowTwo.WindowState == WindowState.Minimized))
Expand Down Expand Up @@ -1450,7 +1451,7 @@ private void ToggleOverlay(bool uiButton, bool awacs, bool twoRadioOverlay)
}
}
}

}
}

Expand Down Expand Up @@ -2165,7 +2166,7 @@ private void DisallowedAudioTone_OnClick(object sender, RoutedEventArgs e)

private void VOXMode_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
{
if(VOXMode.IsEnabled)
if (VOXMode.IsEnabled)
_globalSettings.SetClientSetting(GlobalSettingsKeys.VOXMode, (int)e.NewValue);
}

Expand Down

0 comments on commit d52991c

Please sign in to comment.