mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 14:39:13 +02:00
IDE: quick fix: handle non project/package tool
git-svn-id: branches/fixes_1_4@47740 -
This commit is contained in:
parent
2904cb4893
commit
699f5240aa
@ -316,7 +316,8 @@ begin
|
|||||||
CompOpts:=TIDEPackage(IDETool).LazCompilerOptions;
|
CompOpts:=TIDEPackage(IDETool).LazCompilerOptions;
|
||||||
if CompOpts.MessageFlags[Msg.MsgID]=cfvHide then exit;
|
if CompOpts.MessageFlags[Msg.MsgID]=cfvHide then exit;
|
||||||
s:=Format(lisHideWithPackageOptionVm, [IntToStr(Msg.MsgID)]);
|
s:=Format(lisHideWithPackageOptionVm, [IntToStr(Msg.MsgID)]);
|
||||||
end;
|
end else
|
||||||
|
continue;
|
||||||
Fixes.AddMenuItem(Self,Msg,s);
|
Fixes.AddMenuItem(Self,Msg,s);
|
||||||
end;
|
end;
|
||||||
inherited CreateMenuItems(Fixes);
|
inherited CreateMenuItems(Fixes);
|
||||||
|
Loading…
Reference in New Issue
Block a user