mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 10:47:58 +02:00
IDE: UPD #40616, apply ofDoNotActiveSourceEditor to TMainIDE.BeforeCodeToolBossApplyChanges()
This commit is contained in:
parent
c000fed74d
commit
16be083efc
@ -9865,7 +9865,7 @@ begin
|
||||
continue;
|
||||
|
||||
//DebugLn(['TMainIDE.OnBeforeCodeToolBossApplyChanges i=',i,' ',CodeBUf.Filename]);
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource,ofRegularFile];
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource,ofRegularFile,ofDoNotActiveSourceEditor];
|
||||
if CodeBuf.IsVirtual then
|
||||
Include(Flags,ofVirtualFile);
|
||||
if DoOpenEditorFile(Manager.SourceChangeCache.BuffersToModify[i].Filename,
|
||||
|
Loading…
Reference in New Issue
Block a user