From ceda7a2ba7d1dd03a0ec7a2a8eecaae0c1a9da84 Mon Sep 17 00:00:00 2001
From: Scrub <72096833+ScrubN@users.noreply.github.com>
Date: Sun, 30 Jun 2024 00:54:04 -0400
Subject: [PATCH] Fix vod download trim radio buttons always being enabled
(#1119)
* Fix vod download trim radio buttons always being enabled
* Adjust margin
---
TwitchDownloaderWPF/PageVodDownload.xaml | 2 +-
TwitchDownloaderWPF/PageVodDownload.xaml.cs | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/TwitchDownloaderWPF/PageVodDownload.xaml b/TwitchDownloaderWPF/PageVodDownload.xaml
index 3b52ae01..1cec8a43 100644
--- a/TwitchDownloaderWPF/PageVodDownload.xaml
+++ b/TwitchDownloaderWPF/PageVodDownload.xaml
@@ -69,7 +69,7 @@
(?):
-
+
(?):
diff --git a/TwitchDownloaderWPF/PageVodDownload.xaml.cs b/TwitchDownloaderWPF/PageVodDownload.xaml.cs
index c2f74ddf..bb8732e1 100644
--- a/TwitchDownloaderWPF/PageVodDownload.xaml.cs
+++ b/TwitchDownloaderWPF/PageVodDownload.xaml.cs
@@ -51,6 +51,8 @@ private void SetEnabled(bool isEnabled)
checkEnd.IsEnabled = isEnabled;
SplitBtnDownload.IsEnabled = isEnabled;
MenuItemEnqueue.IsEnabled = isEnabled;
+ RadioTrimSafe.IsEnabled = isEnabled;
+ RadioTrimExact.IsEnabled = isEnabled;
SetEnabledTrimStart(isEnabled & checkStart.IsChecked.GetValueOrDefault());
SetEnabledTrimEnd(isEnabled & checkEnd.IsChecked.GetValueOrDefault());
}