mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-13 17:08:23 +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;
|
function TTimeEdit.GetTime: TDateTime;
|
||||||
begin
|
begin
|
||||||
|
if DirectInput then
|
||||||
|
TryParseInput(Text, FTime);
|
||||||
Result := FTime;
|
Result := FTime;
|
||||||
if IsEmptyTime then begin
|
if IsEmptyTime then begin
|
||||||
if FDefaultNow then
|
if FDefaultNow then
|
||||||
|
Loading…
Reference in New Issue
Block a user