From 4fb6ff19f747e235447ec6a53b2de438cc9e3991 Mon Sep 17 00:00:00 2001 From: Flamefire Date: Wed, 13 Mar 2013 15:05:32 +0100 Subject: [PATCH] Bugfix --- Vocaluxe/Base/CSongSorter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CSongSorter.cs b/Vocaluxe/Base/CSongSorter.cs index b58b3bfe..2160b0c7 100644 --- a/Vocaluxe/Base/CSongSorter.cs +++ b/Vocaluxe/Base/CSongSorter.cs @@ -112,7 +112,7 @@ namespace Vocaluxe.Base List SortList = new List(); if (fieldName.Length == 0) CSongs.Filter.FilteredSongs.ForEach((song) => SortList.Add(new SongPointer(song.ID, ""))); - { + else{ field = Type.GetType("Vocaluxe.Menu.SongMenu.CSong,VocaluxeLib").GetField(fieldName, BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public); isString = field.FieldType == typeof(string); if (!isString && field.FieldType != typeof(List))