forked from External/mage
* Added acustic an optical signals for use of skip buttons.
This commit is contained in:
parent
612721973c
commit
b158ef4f3c
6 changed files with 110 additions and 25 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue