mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Do not flag clicks on system menu items other than our own "Check for updates" and "About" items as *handled* . Broken in r2580. Fixes issue #1309
This commit is contained in:
@ -9446,11 +9446,12 @@ procedure TMainForm.OnMessageHandler(var Msg: TMsg; var Handled: Boolean);
|
||||
begin
|
||||
// Clicks on system window menu get handled here
|
||||
if Msg.message = WM_SYSCOMMAND then begin
|
||||
Handled := True;
|
||||
case Msg.wParam of
|
||||
MSG_UPDATECHECK: Mainform.actUpdateCheck.Execute;
|
||||
MSG_ABOUT: Mainform.actAboutBox.Execute;
|
||||
else Handled := False;
|
||||
end;
|
||||
Handled := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user