FR [ 1660167 ] Usability: close date calendar using escape key
This commit is contained in:
parent
1cada0302a
commit
bc6594a2be
|
@ -706,6 +706,14 @@ public class Calendar extends CDialog
|
|||
dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
// ESC = Cancel - teo_sarca, [ 1660164 ]
|
||||
if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
|
||||
{
|
||||
m_cancel = true;
|
||||
dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
// Modified Hour/Miinute
|
||||
setTime();
|
||||
|
|
Loading…
Reference in New Issue