mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 10:18:05 +02:00
LazControl: LazIntegerEdit, result not set
This commit is contained in:
parent
5bdd772f03
commit
20445109d5
@ -411,6 +411,7 @@ var
|
||||
s: String;
|
||||
n: Boolean;
|
||||
begin
|
||||
Result := True;
|
||||
APrefix := '';
|
||||
AVal := 0;
|
||||
s := RealGetText;
|
||||
@ -433,6 +434,7 @@ begin
|
||||
AVal := -AVal;
|
||||
{$POP}
|
||||
except
|
||||
Result := False;
|
||||
if n then
|
||||
AVal := Min_Limit
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user