ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #294] Showing a message to the user when no order element is selected.

This commit is contained in:
Óscar González Fernández 2010-02-14 19:08:58 +01:00
parent bab66fa26b
commit c8b042a058

View file

@ -127,6 +127,13 @@ public class OrderElementTreeController extends TreeController<OrderElement> {
if (isTemplateCreationConfirmed()) {
createTemplate(getSelectedNode());
}
} else {
try {
Messagebox.show(_("Choose a order element "
+ "from which create a template from"));
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
}