diff --git a/MainForm.cs b/MainForm.cs index 156bd14..e14f4b4 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -134,7 +134,7 @@ namespace TaikoSoundEditor Logger.Info($"Setting LoadedMusicBox DataSource"); LoadedMusicBinding = new BindingSource(); - LoadedMusicBinding.DataSource = MusicInfos.Items; + LoadedMusicBinding.DataSource = MusicInfos.Items.Where(mi => mi.UniqueId != 0).ToList(); LoadedMusicBox.DataSource = LoadedMusicBinding; TabControl.SelectedIndex = 1; @@ -146,7 +146,7 @@ namespace TaikoSoundEditor public static void RunGuard(Action action) - { + { try { action(); @@ -160,8 +160,7 @@ namespace TaikoSoundEditor public static void Error(Exception e) { MessageBox.Show(e.Message, "An error has occured"); - Logger.Error(e); - throw e; + Logger.Error(e); } #region Editor diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user index 863984b..498734d 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - True|2023-07-22T05:23:07.5000923Z;True|2023-07-21T20:03:15.6598520+03:00;True|2023-07-21T19:41:13.2800435+03:00;True|2023-07-19T13:08:33.4726289+03:00;True|2023-07-19T12:08:17.2430335+03:00;True|2023-07-18T09:38:50.7615921+03:00;True|2023-07-18T09:25:23.0403589+03:00;True|2023-07-17T17:57:08.1469738+03:00;True|2023-07-17T11:28:41.9554245+03:00;True|2023-07-17T11:15:26.2194507+03:00; + True|2023-07-22T09:07:26.2620601Z;True|2023-07-22T12:06:39.9230498+03:00;True|2023-07-22T11:29:18.0153916+03:00;True|2023-07-22T08:23:07.5000923+03:00;True|2023-07-21T20:03:15.6598520+03:00;True|2023-07-21T19:41:13.2800435+03:00;True|2023-07-19T13:08:33.4726289+03:00;True|2023-07-19T12:08:17.2430335+03:00;True|2023-07-18T09:38:50.7615921+03:00;True|2023-07-18T09:25:23.0403589+03:00;True|2023-07-17T17:57:08.1469738+03:00;True|2023-07-17T11:28:41.9554245+03:00;True|2023-07-17T11:15:26.2194507+03:00; \ No newline at end of file diff --git a/TJA.cs b/TJA.cs index 50601a5..4b5a3ba 100644 --- a/TJA.cs +++ b/TJA.cs @@ -55,7 +55,7 @@ namespace TaikoSoundEditor { Match match = null; - Logger.Info($"Parsing line : {line}"); + Logger.Info($"Parsing line : {line}"); if ((match = line.Match("\\/\\/.*")) != null) { @@ -140,7 +140,7 @@ namespace TaikoSoundEditor } else if(line.Type=="command") { - Logger.Info($"Command {line.Name} {line.Value}"); + Logger.Info($"Command Name={line.Name} Val={line.Value}"); if (line.Name == "BRANCHSTART") { diff --git a/TaikoSoundEditor.csproj b/TaikoSoundEditor.csproj index d7c1f56..a2fa521 100644 --- a/TaikoSoundEditor.csproj +++ b/TaikoSoundEditor.csproj @@ -7,8 +7,8 @@ true enable NotImplementedLife - 0.3 - 0.3 + 0.4 + 0.4