Skip to content

Commit

Permalink
Merge pull request #780 from maiko3tattun/0715_OtoSearchTerms
Browse files Browse the repository at this point in the history
Ignore SearchTerms exception when loading singers
  • Loading branch information
stakira authored Jul 28, 2023
2 parents 85b2a41 + 6aec760 commit 20e684a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenUtau.Core/Classic/ClassicSinger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ void Load() {
.ToList()
.ForEach(oto => {
oto.SearchTerms.Add(oto.Alias.ToLowerInvariant().Replace(" ", ""));
oto.SearchTerms.Add(WanaKana.ToRomaji(oto.Alias).ToLowerInvariant().Replace(" ", ""));
try {
oto.SearchTerms.Add(WanaKana.ToRomaji(oto.Alias).ToLowerInvariant().Replace(" ", ""));
} catch { }
});
});
}
Expand Down

0 comments on commit 20e684a

Please sign in to comment.