Skip to content

Commit c98a14c

Browse files
committed
Improved performance of populating entity try after recording from protocol
1 parent 993283b commit c98a14c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/main/matlab/+symphonyui/+ui/+presenters/DataManagerPresenter.m

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,15 @@ function onServiceChangedControllerState(obj, ~, ~)
809809
if isempty(group)
810810
return;
811811
end
812-
obj.updateEpochGroupNode(group);
812+
blocks = group.epochBlocks;
813+
if ~isempty(blocks)
814+
b = blocks{end};
815+
if ~obj.uuidToNode.isKey(b.uuid)
816+
obj.addEpochBlockNode(b);
817+
else
818+
obj.updateEpochBlockNode(b);
819+
end
820+
end
813821
end
814822
end
815823

src/site/wiki

Submodule wiki updated from 9d7370c to 09de599

0 commit comments

Comments
 (0)