Skip to content

Commit 678b64c

Browse files
authored
Merge pull request #3744 from ControlSystemStudio/CSSTUDIO-3666
Minor UI fix in save&restore snapshot view
2 parents b5d6ffe + 9c211e5 commit 678b64c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ public void initialize() {
463463
showLiveReadbackButton.setGraphic(new ImageView(new Image(getClass().getResourceAsStream("/icons/show_live_readback_column.png"))));
464464
showLiveReadbackButton.selectedProperty()
465465
.addListener((a, o, n) -> {
466-
this.showReadbacks.set(n);
467-
actionResultReadbackColumn.visibleProperty().setValue(actionResultReadbackColumn.getGraphic() != null);
466+
showReadbacks.set(n);
467+
actionResultReadbackColumn.visibleProperty().setValue(actionResultReadbackColumn.getGraphic() != null && showReadbacks.get());
468468
});
469469

470470
ImageView showHideDeltaPercentageButtonImageView = new ImageView(new Image(getClass().getResourceAsStream("/icons/show_hide_delta_percentage.png")));

0 commit comments

Comments
 (0)