Skip to content

Commit

Permalink
Fix Race Condition on Startup loading Default Preset #133
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkl58 committed Feb 18, 2023
1 parent c91205d commit 3297e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NotEnoughAV1Encodes/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ private void SliderEncoderPreset_ValueChanged(object sender, RoutedPropertyChang

private void CheckBoxCustomVideoSettings_Toggled(object sender, RoutedEventArgs e)
{
if (CheckBoxCustomVideoSettings.IsOn && presetLoadLock == false)
if (CheckBoxCustomVideoSettings.IsOn && presetLoadLock == false && IsLoaded)
{
TextBoxCustomVideoSettings.Text = GenerateEncoderCommand();
}
Expand Down

0 comments on commit 3297e42

Please sign in to comment.