Bug #1425: Fix problem change wrong parentheses

Taking advantage to change NO button for CANCEL in order to make this confirm
dialog more coherent with the rest of confirm dialogs in LibrePlan.

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-05-02 10:35:52 +02:00
parent e1f91e4900
commit 7fd13ef646

View file

@ -236,9 +236,9 @@ class OrderElementOperations extends TreeElementOperationsController<OrderElemen
private int showConfirmCreateTemplateDialog() {
try {
return Messagebox
.show(_("Unsaved changes will be lost. Would you like to continue?",
_("Confirm create template"), Messagebox.YES
| Messagebox.NO, Messagebox.QUESTION));
.show(_("Unsaved changes will be lost. Would you like to continue?"),
_("Confirm create template"), Messagebox.OK
| Messagebox.CANCEL, Messagebox.QUESTION);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}