mirror of https://gitlab.com/basile.b/dexed.git
#97, reloaded options were always overwritten
This commit is contained in:
parent
37f606aa29
commit
c203192882
|
|
@ -576,9 +576,6 @@ var
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
fBackup := TCEDebugOptionsBase.create(self);
|
fBackup := TCEDebugOptionsBase.create(self);
|
||||||
fname := getCoeditDocPath + optFname;
|
|
||||||
if fname.fileExists then
|
|
||||||
loadFromFile(fname);
|
|
||||||
EntitiesConnector.addObserver(self);
|
EntitiesConnector.addObserver(self);
|
||||||
fShowGdbOutput:=false;
|
fShowGdbOutput:=false;
|
||||||
fShowOutput:= true;
|
fShowOutput:= true;
|
||||||
|
|
@ -586,6 +583,9 @@ begin
|
||||||
fAutoGetCallStack:= true;
|
fAutoGetCallStack:= true;
|
||||||
fAutoGetRegisters:= true;
|
fAutoGetRegisters:= true;
|
||||||
fAutoGetVariables:= true;
|
fAutoGetVariables:= true;
|
||||||
|
fname := getCoeditDocPath + optFname;
|
||||||
|
if fname.fileExists then
|
||||||
|
loadFromFile(fname);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TCEDebugOptions.destroy;
|
destructor TCEDebugOptions.destroy;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue