From a6b9cf7ca6bc57db4808ee37f125a6becf675c03 Mon Sep 17 00:00:00 2001 From: Jaex Date: Mon, 7 Feb 2022 17:52:28 +0300 Subject: [PATCH] Fix enabled state --- ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs index 4c84850fb..209c93d6c 100644 --- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs +++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs @@ -66,11 +66,9 @@ private async Task SettingsLoad() { settingsLoaded = false; - // General - #if STEAM || MicrosoftStore cbOverrideFFmpegPath.Checked = Options.FFmpeg.OverrideCLIPath; - gbFFmpegExe.Enabled = Options.FFmpeg.OverrideCLIPath; + txtFFmpegPath.Enabled = btnFFmpegBrowse.Enabled = btnDownload.Enabled = Options.FFmpeg.OverrideCLIPath; #else cbOverrideFFmpegPath.Visible = false; #endif @@ -271,7 +269,7 @@ private void cbOverrideFFmpegPath_CheckedChanged(object sender, EventArgs e) { #if STEAM || MicrosoftStore Options.FFmpeg.OverrideCLIPath = cbOverrideFFmpegPath.Checked; - gbFFmpegExe.Enabled = Options.FFmpeg.OverrideCLIPath; + txtFFmpegPath.Enabled = btnFFmpegBrowse.Enabled = btnDownload.Enabled = Options.FFmpeg.OverrideCLIPath; #endif }