* Added acustic an optical signals for use of skip buttons.

This commit is contained in:
LevelX2 2014-10-30 23:43:32 +01:00
parent 612721973c
commit b158ef4f3c
6 changed files with 110 additions and 25 deletions

View file

@ -96,7 +96,11 @@ public class PickChoiceDialog extends MageDialog {
if (choice.isKeyChoice()) {
ComboItem item = (ComboItem)this.lstChoices.getSelectedValue();
choice.setChoiceByKey(item.getValue());
if (item != null) {
choice.setChoiceByKey(item.getValue());
} else {
choice.clearChoice();
}
} else {
choice.setChoice((String)this.lstChoices.getSelectedValue());
}