- Fixed mouse-up handling when no SelectedTile is given
This commit is contained in:
parent
b6dfd64d41
commit
082770f183
|
@ -566,7 +566,7 @@ begin
|
||||||
mnuGrabTileIDClick(nil);
|
mnuGrabTileIDClick(nil);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if (not acSelect.Checked) and (targetTile <> nil) then
|
if (not acSelect.Checked) and (targetTile <> nil) and (SelectedTile <> nil) then
|
||||||
begin
|
begin
|
||||||
targetRect := GetSelectedRect;
|
targetRect := GetSelectedRect;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue