diff --git a/.gitignore b/.gitignore index cd42ee3..ba81862 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -bin/ -obj/ +bin/ +obj/ +.vs/ diff --git a/Data.cs b/Data.cs index faf34fe..c3f0193 100644 --- a/Data.cs +++ b/Data.cs @@ -554,6 +554,11 @@ await Task.Run(() => newNote.NoteKey = Convert.ToInt32(buffer.Substring(8, buffer.Length - 8)); } } + if (isNoteValid) + { + newTrack.NoteList.Add(newNote); + noteNum++; + } } } if (!isValid) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index c494beb..9e033fb 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -11,7 +11,7 @@ namespace UtaFormatix /// public partial class MainWindow : Window { - private string version = "ver 2.1"; + private string version = "ver 2.2"; private Data mainData; private Data exportingData; private bool imported = false;