From fc33659db471fe51bafdf44d025465c78657fdfd Mon Sep 17 00:00:00 2001 From: Avibah Date: Sat, 2 Mar 2024 09:33:25 -0600 Subject: [PATCH] dumb null bug --- Editor/New SSQE/Forms/BookmarksWindow.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/New SSQE/Forms/BookmarksWindow.axaml.cs b/Editor/New SSQE/Forms/BookmarksWindow.axaml.cs index 5c452fe8..a279f334 100644 --- a/Editor/New SSQE/Forms/BookmarksWindow.axaml.cs +++ b/Editor/New SSQE/Forms/BookmarksWindow.axaml.cs @@ -40,7 +40,7 @@ private void AddButton_Click(object sender, RoutedEventArgs e) if (item.Ms == offset && item.EndMs == endOffset) return; - MainWindow.Instance.Bookmarks.Add(new Bookmark(BookmarkTextBox.Text, offset, endOffset)); + MainWindow.Instance.Bookmarks.Add(new Bookmark(BookmarkTextBox.Text ?? "", offset, endOffset)); MainWindow.Instance.SortBookmarks(); }