mirror of https://gitlab.com/basile.b/dexed.git
fix, useless project double update
This commit is contained in:
parent
2442892fec
commit
722ef18563
|
@ -298,11 +298,13 @@ begin
|
||||||
//
|
//
|
||||||
nme := '';
|
nme := '';
|
||||||
beginImperativeUpdate;
|
beginImperativeUpdate;
|
||||||
|
fProj.beginUpdate;
|
||||||
src := fProj.currentConfiguration;
|
src := fProj.currentConfiguration;
|
||||||
trg := fProj.addConfiguration;
|
trg := fProj.addConfiguration;
|
||||||
trg.assign(src);
|
trg.assign(src);
|
||||||
if InputQuery('Configuration name', '', nme) then trg.name := nme;
|
if InputQuery('Configuration name', '', nme) then trg.name := nme;
|
||||||
fProj.ConfigurationIndex := trg.Index;
|
fProj.ConfigurationIndex := trg.Index;
|
||||||
|
fProj.endUpdate;
|
||||||
endImperativeUpdate;
|
endImperativeUpdate;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue