mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-02 21:20:28 +12:00
Fix enabled state
This commit is contained in:
parent
ff612201fa
commit
a6b9cf7ca6
|
@ -66,11 +66,9 @@ private async Task SettingsLoad()
|
||||||
{
|
{
|
||||||
settingsLoaded = false;
|
settingsLoaded = false;
|
||||||
|
|
||||||
// General
|
|
||||||
|
|
||||||
#if STEAM || MicrosoftStore
|
#if STEAM || MicrosoftStore
|
||||||
cbOverrideFFmpegPath.Checked = Options.FFmpeg.OverrideCLIPath;
|
cbOverrideFFmpegPath.Checked = Options.FFmpeg.OverrideCLIPath;
|
||||||
gbFFmpegExe.Enabled = Options.FFmpeg.OverrideCLIPath;
|
txtFFmpegPath.Enabled = btnFFmpegBrowse.Enabled = btnDownload.Enabled = Options.FFmpeg.OverrideCLIPath;
|
||||||
#else
|
#else
|
||||||
cbOverrideFFmpegPath.Visible = false;
|
cbOverrideFFmpegPath.Visible = false;
|
||||||
#endif
|
#endif
|
||||||
|
@ -271,7 +269,7 @@ private void cbOverrideFFmpegPath_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
#if STEAM || MicrosoftStore
|
#if STEAM || MicrosoftStore
|
||||||
Options.FFmpeg.OverrideCLIPath = cbOverrideFFmpegPath.Checked;
|
Options.FFmpeg.OverrideCLIPath = cbOverrideFFmpegPath.Checked;
|
||||||
gbFFmpegExe.Enabled = Options.FFmpeg.OverrideCLIPath;
|
txtFFmpegPath.Enabled = btnFFmpegBrowse.Enabled = btnDownload.Enabled = Options.FFmpeg.OverrideCLIPath;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue