From c203192882f1ccedd87af69a2c7a252e7e60ebea Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 4 Nov 2016 15:21:31 +0100 Subject: [PATCH] #97, reloaded options were always overwritten --- src/ce_gdb.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ce_gdb.pas b/src/ce_gdb.pas index b0c86a05..b01a884a 100644 --- a/src/ce_gdb.pas +++ b/src/ce_gdb.pas @@ -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;