mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 23:37:18 +01:00
TAChart: Make sure that chart tools always work with valid image-graph scaling. Issue #35337, patch by Marcin Wiazowski.
git-svn-id: trunk@60894 -
This commit is contained in:
parent
18edc84831
commit
6d39a8ac82
@ -1038,7 +1038,7 @@ var
|
||||
var
|
||||
i, ai: Integer;
|
||||
begin
|
||||
if Tools.Count = 0 then exit(false);
|
||||
if (Tools.Count = 0) or (not AChart.ScalingValid) then exit(false);
|
||||
|
||||
SetLength(candidates, Tools.Count);
|
||||
candidateCount := 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user