From 3543da51feef3c6f7391bcdc5087772aa1c0f06e Mon Sep 17 00:00:00 2001 From: Dennis Hilhorst Date: Thu, 22 May 2025 10:47:09 +0200 Subject: [PATCH] [phoebus] allow opening folder nodes in SaR --- .../saveandrestore/ui/SaveAndRestoreController.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/SaveAndRestoreController.java b/app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/SaveAndRestoreController.java index b9f9bda58d..4636ae53ab 100644 --- a/app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/SaveAndRestoreController.java +++ b/app/save-and-restore/app/src/main/java/org/phoebus/applications/saveandrestore/ui/SaveAndRestoreController.java @@ -1348,10 +1348,6 @@ private void openNode(String nodeId) { }); return; } - if (node.getNodeType().equals(NodeType.FOLDER)) { - logger.log(Level.WARNING, "Requested to open node, but node must not be folder node"); - return; - } Stack copiedStack = new Stack<>(); Platform.runLater(() -> { DirectoryUtilities.CreateLocationStringAndNodeStack(node, false).getValue().forEach(copiedStack::push);