ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #294] Showing a message to the user when no order element is selected.
This commit is contained in:
parent
bab66fa26b
commit
c8b042a058
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue