mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Fix enabled state
This commit is contained in:
parent
ff612201fa
commit
a6b9cf7ca6
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue