Correction d'un bug stupide mais vicieux
This commit is contained in:
parent
e7640ef83b
commit
351fed02de
1 changed files with 4 additions and 2 deletions
|
|
@ -37,8 +37,10 @@ namespace DMX2
|
|||
return value;
|
||||
}
|
||||
set {
|
||||
if(value.Length==0) if(data.ContainsKey(index))
|
||||
if(value.Length==0) {
|
||||
if(data.ContainsKey(index))
|
||||
data.Remove(index);
|
||||
}
|
||||
else
|
||||
data[index] = value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue