mirror of https://gitlab.com/basile.b/dexed.git
remove code patching old widget names from the layout xml file
This commit is contained in:
parent
7d76556cbc
commit
512b51fc9f
|
@ -1911,25 +1911,12 @@ var
|
||||||
x: TXMLConfigStorage;
|
x: TXMLConfigStorage;
|
||||||
s: TMemoryStream;
|
s: TMemoryStream;
|
||||||
f: string;
|
f: string;
|
||||||
i: integer;
|
|
||||||
w: TDexedWidget;
|
w: TDexedWidget;
|
||||||
begin
|
begin
|
||||||
result := false;
|
result := false;
|
||||||
f := getDocPath + 'docking.xml';
|
f := getDocPath + 'docking.xml';
|
||||||
if fileExists(f) then
|
if fileExists(f) then
|
||||||
begin
|
begin
|
||||||
|
|
||||||
// TODO-cmaintenance: remove this from 3.8.0
|
|
||||||
with TStringList.Create do
|
|
||||||
try
|
|
||||||
LoadFromFile(f);
|
|
||||||
for i := 0 to Count-1 do
|
|
||||||
strings[i] := ReplaceText(strings[i], 'Name="CE', 'Name="');
|
|
||||||
finally
|
|
||||||
SaveToFile(f);
|
|
||||||
free;
|
|
||||||
end;
|
|
||||||
|
|
||||||
x := TXMLConfigStorage.Create(f, true);
|
x := TXMLConfigStorage.Create(f, true);
|
||||||
try
|
try
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue