Skip to content

Commit 50cba81

Browse files
authored
Merge pull request #3597 from ControlSystemStudio/set_initial_snapshot_node
Bugfix: snapshot node not set when creating new snapshot
2 parents 9605fd6 + 3c9df08 commit 50cba81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/snapshot/SnapshotController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ public void initializeViewForNewSnapshot(Node configurationNode) {
724724
SnapshotData snapshotData = new SnapshotData();
725725
snapshotData.setSnapshotItems(configurationToSnapshotItems(configPvs));
726726
this.snapshot = new Snapshot();
727+
this.snapshot.setSnapshotNode(Node.builder().nodeType(NodeType.SNAPSHOT).build());
727728
this.snapshot.setSnapshotData(snapshotData);
728729
updateUi();
729730
Platform.runLater(() -> actionResultReadbackColumn.visibleProperty().setValue(false));

0 commit comments

Comments
 (0)