Debugger: "Copy callstack" do not clear clipboard to early. Issue #39880

This commit is contained in:
Martin 2022-09-05 21:01:46 +02:00
parent 715d70dc38
commit f4e3f0e7e7

View File

@ -513,10 +513,11 @@ var
Entry: TIdeCallStackEntry;
S: String;
begin
if (GetSelectedCallstack=nil) or (GetSelectedCallstack.Count=0) then
exit;
Clipboard.Clear;
if (GetSelectedCallstack=nil) or (GetSelectedCallstack.Count=0) then exit;
S := '';
// GetSelectedCallstack.PrepareRange();
for n:= 0 to GetSelectedCallstack.Count-1 do