Bugfix for text reference of namespace. Converted!
This commit is contained in:
1 parent
1f695a7b83
commit
1fbc436505
1 file changed
+1
-1
@@ -112,7 +112,7 @@ namespace Vocaluxe.Base
|
|||||||
CSongs.Filter.FilteredSongs.ForEach((song) => SortList.Add(new SongPointer(song.ID, "")));
|
CSongs.Filter.FilteredSongs.ForEach((song) => SortList.Add(new SongPointer(song.ID, "")));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
field = Type.GetType("Vocaluxe.Menu.SongMenu.CSong,VocaluxeLib").GetField(fieldName, BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public);
|
field = typeof(CSong).GetField(fieldName, BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public);
|
||||||
isString = field.FieldType == typeof(string);
|
isString = field.FieldType == typeof(string);
|
||||||
if (!isString && field.FieldType != typeof(List<String>))
|
if (!isString && field.FieldType != typeof(List<String>))
|
||||||
throw new Exception("Unkown sort field type");
|
throw new Exception("Unkown sort field type");
|
||||||
|
|||||||
Reference in new issue
Block a user