Skip to content

Commit

Permalink
dumb null bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Avibah committed Mar 2, 2024
1 parent 6bc00fd commit fc33659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/New SSQE/Forms/BookmarksWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit fc33659

Please sign in to comment.