From 2e345f73a1c5495b796bbe0f36e163e44654bbb6 Mon Sep 17 00:00:00 2001 From: ScrubN <72096833+ScrubN@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:39:56 -0400 Subject: [PATCH] Add missing initialization check --- TwitchDownloaderWPF/PageChatRender.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TwitchDownloaderWPF/PageChatRender.xaml.cs b/TwitchDownloaderWPF/PageChatRender.xaml.cs index de31fa85..e117e8be 100644 --- a/TwitchDownloaderWPF/PageChatRender.xaml.cs +++ b/TwitchDownloaderWPF/PageChatRender.xaml.cs @@ -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); }