mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 18:32:39 +02:00
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:
parent
1fb630f063
commit
8af43e0c0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user