mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 13:19:49 +01:00
IDEIntf: Prevent executing menu commands twice. Issue #28870, patch from Ondrej.
git-svn-id: trunk@50093 -
This commit is contained in:
parent
6daf156ce1
commit
709d37fee1
@ -543,8 +543,11 @@ end;
|
||||
|
||||
procedure TIDEMenuItem.MenuItemClick(Sender: TObject);
|
||||
begin
|
||||
if Assigned(OnClick) then OnClick(Self);
|
||||
if Assigned(OnClickProc) then OnClickProc(Self);
|
||||
if Assigned(OnClick) then
|
||||
OnClick(Self)
|
||||
else
|
||||
if Assigned(OnClickProc) then
|
||||
OnClickProc(Self);
|
||||
end;
|
||||
|
||||
procedure TIDEMenuItem.MenuItemDestroy(Sender: TObject);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user