[ 2696753 ] FDialog.ask should have Ok_Cancel button instead of Yes_No
https://sourceforge.net/tracker/index.php?func=detail&aid=2696753&group_id=176962&atid=955896
This commit is contained in:
parent
82f9c7d39b
commit
ab10c7634e
|
@ -289,9 +289,9 @@ public class FDialog
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
String s = Msg.getMsg(Env.getCtx(), adMessage).replace("\n", "<br>");
|
String s = Msg.getMsg(Env.getCtx(), adMessage).replace("\n", "<br>");
|
||||||
int response = Messagebox.showDialog(s, Env.getHeader(Env.getCtx(), windowNo), Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
int response = Messagebox.showDialog(s, Env.getHeader(Env.getCtx(), windowNo), Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION);
|
||||||
|
|
||||||
return (response == Messagebox.YES);
|
return (response == Messagebox.OK);
|
||||||
}
|
}
|
||||||
catch (InterruptedException ex)
|
catch (InterruptedException ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue