mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 23:19:28 +02:00
IDE: Expand IDE macros in Run->Run parameters->Environment->User override. Issue #23469, patch from Cyrax
git-svn-id: trunk@39907 -
This commit is contained in:
parent
3ad44aa03c
commit
47446ad440
@ -22,7 +22,7 @@ unit BaseIDEIntf;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, LazConfigStorage, Dialogs;
|
||||
Classes, SysUtils, FileUtil, LazConfigStorage, Dialogs, MacroIntf;
|
||||
|
||||
type
|
||||
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
||||
@ -73,6 +73,7 @@ begin
|
||||
for i:=0 to Overrides.Count-1 do begin
|
||||
Variable:=Overrides.Names[i];
|
||||
Value:=Overrides.Values[Variable];
|
||||
IDEMacros.SubstituteMacros(Value);
|
||||
EnvList.Values[Variable]:=Value;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user