LCL: Try to derive Time from the text in the control in TTimeEdit.GetTime, if DirectInput is True. Issue #0031227.

git-svn-id: trunk@53944 -
This commit is contained in:
bart 2017-01-14 17:14:48 +00:00
parent 1fb630f063
commit 8af43e0c0b

View File

@ -2074,6 +2074,8 @@ end;
function TTimeEdit.GetTime: TDateTime;
begin
if DirectInput then
TryParseInput(Text, FTime);
Result := FTime;
if IsEmptyTime then begin
if FDefaultNow then