mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 07:27:43 +01:00
Selecting is now cancelled if grid lost focus
git-svn-id: trunk@8077 -
This commit is contained in:
parent
ceb3ef6c72
commit
a76e28c702
@ -4285,6 +4285,11 @@ begin
|
||||
{$IfDef dbgGrid}DebugLn('DoExit - Ext');{$Endif}
|
||||
if not EditorAlwaysShown then
|
||||
InvalidateFocused;
|
||||
if FgridState=gsSelecting then begin
|
||||
if SelectActive then
|
||||
FSelectActive := False;
|
||||
FGridState := gsNormal;
|
||||
end;
|
||||
end;
|
||||
inherited DoExit;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user