Skip to content

Commit

Permalink
Add missing initialization check
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Aug 28, 2024
1 parent 93e1fd3 commit 2e345f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TwitchDownloaderWPF/PageChatRender.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,9 @@ private void MenuItemPartialRender_Click(object sender, RoutedEventArgs e)

private void TextJson_TextChanged(object sender, TextChangedEventArgs e)
{
if (!IsInitialized)
return;

FileNames = textJson.Text.Split("&&", StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries);
UpdateActionButtons(false);
}
Expand Down

0 comments on commit 2e345f7

Please sign in to comment.