InputRoll - remove designer hacks, they don't crash the designer anymore

This commit is contained in:
adelikat 2020-03-01 16:41:47 -06:00
parent 079a0a4104
commit 0414e15a75
1 changed files with 1 additions and 9 deletions

View File

@ -31,9 +31,7 @@ namespace BizHawk.Client.EmuHawk
{
if (this.Any(c => c.Name == column.Name))
{
// The designer sucks, doing nothing for now
return;
//throw new InvalidOperationException("A column with this name already exists.");
throw new InvalidOperationException("A column with this name already exists.");
}
base.Add(column);
@ -47,9 +45,6 @@ namespace BizHawk.Client.EmuHawk
{
if (this.Any(c => c.Name == column.Name))
{
// The designer sucks, doing nothing for now
return;
throw new InvalidOperationException("A column with this name already exists.");
}
}
@ -62,9 +57,6 @@ namespace BizHawk.Client.EmuHawk
{
if (this.Any(c => c.Name == column.Name))
{
// The designer sucks, doing nothing for now
return;
throw new InvalidOperationException("A column with this name already exists.");
}