Lua functions list - don't throw exceptiosn when filtering, don't know why it happens but this will squash it, and it isn't important enough to know why.
This commit is contained in:
parent
aa2ae170f3
commit
3f675b2053
|
@ -53,23 +53,33 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
text = string.Empty;
|
text = string.Empty;
|
||||||
|
|
||||||
switch (column)
|
try
|
||||||
{
|
{
|
||||||
case 0:
|
if (FilteredList.Any() && index < FilteredList.Count)
|
||||||
text = FilteredList[index].ReturnType;
|
{
|
||||||
break;
|
switch (column)
|
||||||
case 1:
|
{
|
||||||
text = FilteredList[index].Library;
|
case 0:
|
||||||
break;
|
text = FilteredList[index].ReturnType;
|
||||||
case 2:
|
break;
|
||||||
text = FilteredList[index].Name;
|
case 1:
|
||||||
break;
|
text = FilteredList[index].Library;
|
||||||
case 3:
|
break;
|
||||||
text = FilteredList[index].ParameterList;
|
case 2:
|
||||||
break;
|
text = FilteredList[index].Name;
|
||||||
case 4:
|
break;
|
||||||
text = FilteredList[index].Description;
|
case 3:
|
||||||
break;
|
text = FilteredList[index].ParameterList;
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
text = FilteredList[index].Description;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
/* Eat it*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue