Skip to content

Commit 094a809

Browse files
authored
Merge pull request #3359 from ControlSystemStudio/CSSTUIO-3179
Fix take snapshot from archiver data UI
2 parents 9e10036 + b9572bc commit 094a809

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public void initialize() {
108108
snapshotProperty.addListener((ob, o, n) -> {
109109
if (n != null) {
110110
snapshotControlsViewController.setSnapshotNode(n.getSnapshotNode());
111+
snapshotTableViewController.showSnapshotInTable(n);
111112
}
112113
});
113114
}
@@ -150,6 +151,7 @@ public void takeSnapshot() {
150151
disabledUi.set(false);
151152
if (snapshot.isPresent()) {
152153
snapshotProperty.set(snapshot.get());
154+
snapshotTableViewController.showSnapshotInTable(snapshot.get());
153155
}
154156
});
155157
}
@@ -336,7 +338,7 @@ private void loadSnapshotInternal(Node snapshotNode) {
336338
Snapshot snapshot = getSnapshotFromService(snapshotNode);
337339
snapshotProperty.set(snapshot);
338340
Platform.runLater(() -> {
339-
snapshotTableViewController.showSnapshotInTable(snapshot);
341+
//snapshotTableViewController.showSnapshotInTable(snapshot);
340342
snapshotControlsViewController.getSnapshotRestorableProperty().set(true);
341343
});
342344
} finally {

0 commit comments

Comments
 (0)