don't show further warnings when bits is are out of range

This commit is contained in:
stirkac 2019-04-15 13:49:06 +02:00
parent ba703acc63
commit 0b6fec131d
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ public class TableBitwiseSwitch extends Table {
"Table: %s%nDefinition file specified an out of range bit switch! Only values >= 0 and < size * 8 are allowed!",
super.getName());
showMessageDialog(this, mismatch, "ERROR - Incorrect definition", ERROR_MESSAGE);
break;
} else {
JCheckBox cb = new JCheckBox(entry.getKey());
cb.setSelected(bits_array[entry.getValue()]);