mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 17:40:17 +02:00
IDE: Fix Range-check, when pressing F11 (show OI) too often
git-svn-id: trunk@20636 -
This commit is contained in:
parent
ed54b6eb99
commit
ab475f9133
@ -11091,7 +11091,8 @@ procedure TMainIDE.DoBringToFrontFormOrInspector(ForceInspector: boolean);
|
||||
begin
|
||||
if ObjectInspector1=nil then exit;
|
||||
ObjectInspector1.ShowOnTop;
|
||||
FDisplayState:= Succ(FDisplayState);
|
||||
if FDisplayState <> high(TDisplayState) then
|
||||
FDisplayState:= Succ(FDisplayState);
|
||||
end;
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user