From db1f376f419f11788656b46f81c5d034dec0e224 Mon Sep 17 00:00:00 2001 From: SteffenHeu Date: Sun, 2 Jun 2019 14:44:57 +0200 Subject: [PATCH] fixed bug when loading saved processing queue --- .../sf/mzmine/parameters/parametertypes/ProcessingComponent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/sf/mzmine/parameters/parametertypes/ProcessingComponent.java b/src/main/java/net/sf/mzmine/parameters/parametertypes/ProcessingComponent.java index 8a3b628cd..dd88bc261 100644 --- a/src/main/java/net/sf/mzmine/parameters/parametertypes/ProcessingComponent.java +++ b/src/main/java/net/sf/mzmine/parameters/parametertypes/ProcessingComponent.java @@ -331,6 +331,7 @@ public void setTreeViewProcessingItemsFromQueue(@Nullable DataPointProcessingQue logger.info("Loading queue into tvProcessing..."); DefaultMutableTreeNode root = (DefaultMutableTreeNode) tvProcessing.getModel().getRoot(); root.removeAllChildren(); + ((DefaultTreeModel) tvProcessing.getModel()).reload(); Collection moduleNodes = createTreeItemsFromQueue(queue); for (DPPModuleTreeNode node : moduleNodes) { addModule(node);