ItEr49S04ValidacionEProbasFuncionaisItEr48S04: [Bug #350] Fixing bug.

This commit is contained in:
Lorenzo Tilve 2010-02-22 13:08:16 +01:00 committed by Javier Moran Rua
parent 532bd56a63
commit bcf420228d

View file

@ -180,6 +180,11 @@ public abstract class TreeController<T extends ITreeNode<T>> extends
snapshotOfOpenedNodes = TreeViewStateSnapshot.snapshotOpened(tree);
Textbox name = (Textbox) cmp.getFellow("newOrderElementName");
Intbox hours = (Intbox) cmp.getFellow("newOrderElementHours");
if (hours.getValue() == null) {
hours.setValue(0);
}
// Parse hours
try {
if (tree.getSelectedCount() == 1) {