From 441180f7e0f0152dbeb135857a389ed142a681db Mon Sep 17 00:00:00 2001 From: zeljan1 Date: Wed, 2 Apr 2025 17:14:26 +0200 Subject: [PATCH] IDE: fixed wrong activation message. issue #41561 --- ide/mainbar.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/mainbar.pas b/ide/mainbar.pas index 58182ef414..3f489f844c 100644 --- a/ide/mainbar.pas +++ b/ide/mainbar.pas @@ -613,7 +613,7 @@ end; procedure TMainIDEBar.WndProc(var Message: TLMessage); begin inherited WndProc(Message); - if (Message.Msg=LM_ACTIVATE) and (Message.Result=0) then + if (Message.Msg=LM_ACTIVATE) and (Message.Result=0) and (Lo(Message.WParam) <> WA_INACTIVE) then DoActive; end;