bug fix [ 1660164 ] Date Calendar - on close throws exception

This commit is contained in:
teo_sarca 2007-02-14 23:56:04 +00:00
parent 5130d05ce0
commit 1cada0302a
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ public class VDate extends JComponent
AEnv.showCenterWindow(frame, cal); AEnv.showCenterWindow(frame, cal);
Timestamp result = cal.getTimestamp(); Timestamp result = cal.getTimestamp();
log.config( "Result=" + result); log.config( "Result=" + result);
if (result == null && !cal.isCancel()) if (result == null)
result = value; // original result = value; // original
cal = null; cal = null;
return result; return result;