Skip to content

Commit 586d34b

Browse files
committed
Disallow edits of snapshot values in composite snapshot view
1 parent 22b4246 commit 586d34b

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
@@ -894,6 +894,7 @@ private void showLoggingError(String cause) {
894894
*/
895895
public void loadSnapshot(Node snapshotNode) {
896896
disabledUi.set(true);
897+
storedValueColumn.editableProperty().set(snapshotNode.getNodeType().equals(NodeType.SNAPSHOT));
897898
JobManager.schedule("Load snapshot items", monitor -> {
898899
try {
899900
this.snapshot = getSnapshotFromService(snapshotNode);

0 commit comments

Comments
 (0)