mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 17:36:13 +02:00
IdeDebugger: fix loading watch display format from session
This commit is contained in:
parent
48cf66858d
commit
048d3d6686
@ -6932,7 +6932,7 @@ procedure TIdeWatch.DoLoadDisplayFormatFromXMLConfig(const AConfig: TXMLConfig;
|
||||
var
|
||||
s: String;
|
||||
begin
|
||||
s := LowerCase(AConfig.GetValue(APath+AOldPath, 'wdfDefault'));
|
||||
s := LowerCase(AConfig.GetValue(AOldPath, 'wdfDefault'));
|
||||
if s <> 'wdfdefault' then begin
|
||||
ADisplayFormat := ParseOldDispFormat(s);
|
||||
end
|
||||
@ -7144,7 +7144,7 @@ begin
|
||||
then Include(FEvaluateFlags, defFunctionCallRunAllThreads)
|
||||
else Exclude(FEvaluateFlags, defFunctionCallRunAllThreads);
|
||||
|
||||
DoLoadDisplayFormatFromXMLConfig(AConfig, APath + 'DisplayStyle', '/Value', FDisplayFormat);
|
||||
DoLoadDisplayFormatFromXMLConfig(AConfig, APath + 'DisplayFormat', APath + 'DisplayStyle/Value', FDisplayFormat);
|
||||
|
||||
FRepeatCount := AConfig.GetValue(APath + 'RepeatCount', 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user