mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 07:40:22 +02:00
LCL: fixed TControlScrollBar.InternalSetRange avoiding negative values, bug #25693
git-svn-id: trunk@43951 -
This commit is contained in:
parent
ded56dfb04
commit
92eb98b5b6
@ -392,7 +392,7 @@ begin
|
||||
NewRange := 0;
|
||||
if FRange = NewRange then
|
||||
Exit;
|
||||
FRange := AValue;
|
||||
FRange := NewRange;
|
||||
{$IFDEF VerboseScrollingWinControl}
|
||||
//if DebugCondition then
|
||||
DebugLn(['TControlScrollBar.SetRange ',dbgs(Kind),' ',Self,' FRange=',FRange]);
|
||||
|
Loading…
Reference in New Issue
Block a user