IDE, debug registers: avoid extra updates

git-svn-id: trunk@62592 -
This commit is contained in:
martin 2020-01-26 20:15:00 +00:00
parent 7e1fb75015
commit 84ac7fd966

View File

@ -405,7 +405,8 @@ begin
if (reg <> nil) then
reg.Count;
for n := 0 to lvRegisters.Items.Count - 1 do
lvRegisters.Items[n].SubItems[0] := '<Unavailable>';
if lvRegisters.Items[n].SubItems[0] <> '<Unavailable>' then
lvRegisters.Items[n].SubItems[0] := '<Unavailable>';
exit;
end;