InputRoll - remove designer hacks, they don't crash the designer anymore
This commit is contained in:
parent
079a0a4104
commit
0414e15a75
|
@ -31,9 +31,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
if (this.Any(c => c.Name == column.Name))
|
if (this.Any(c => c.Name == column.Name))
|
||||||
{
|
{
|
||||||
// The designer sucks, doing nothing for now
|
throw new InvalidOperationException("A column with this name already exists.");
|
||||||
return;
|
|
||||||
//throw new InvalidOperationException("A column with this name already exists.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
base.Add(column);
|
base.Add(column);
|
||||||
|
@ -47,9 +45,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
if (this.Any(c => c.Name == column.Name))
|
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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,9 +57,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
if (this.Any(c => c.Name == column.Name))
|
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.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue