#97, reloaded options were always overwritten

This commit is contained in:
Basile Burg 2016-11-04 15:21:31 +01:00
parent 37f606aa29
commit c203192882
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 3 additions and 3 deletions

View File

@ -576,9 +576,6 @@ var
begin
inherited;
fBackup := TCEDebugOptionsBase.create(self);
fname := getCoeditDocPath + optFname;
if fname.fileExists then
loadFromFile(fname);
EntitiesConnector.addObserver(self);
fShowGdbOutput:=false;
fShowOutput:= true;
@ -586,6 +583,9 @@ begin
fAutoGetCallStack:= true;
fAutoGetRegisters:= true;
fAutoGetVariables:= true;
fname := getCoeditDocPath + optFname;
if fname.fileExists then
loadFromFile(fname);
end;
destructor TCEDebugOptions.destroy;