mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:59:31 +02:00
IDE: messages window: fixed adding $warn off
git-svn-id: trunk@57765 -
This commit is contained in:
parent
9fae8f17bf
commit
71c85ca2f3
@ -346,7 +346,7 @@ begin
|
||||
LazarusIDE.OpenEditorsOnCodeToolChange:=true;
|
||||
try
|
||||
Comment:=' : '+TIDEFPCParser.GetFPCMsgPattern(Msg);
|
||||
if not CodeToolBoss.AddUnitWarnDirective(Code,IntToStr(MsgID),Comment,true) then
|
||||
if not CodeToolBoss.AddUnitWarnDirective(Code,IntToStr(MsgID),Comment,false) then
|
||||
begin
|
||||
DebugLn(['TQuickFix_HideWithCompilerDirective CodeToolBoss.AddUnitWarnDirective failed']);
|
||||
LazarusIDE.DoJumpToCodeToolBossError;
|
||||
|
Loading…
Reference in New Issue
Block a user