From 78465448cde9d9766f8a5afa74e7201b4cd25abe Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 13 Jun 2017 20:12:43 +0200 Subject: [PATCH] Load/Unload Modules dialog: fixed duplication of nodes on 'Load All/Unload All' (IDEA-174387) --- .../roots/ui/configuration/ConfigureUnloadedModulesDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ConfigureUnloadedModulesDialog.kt b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ConfigureUnloadedModulesDialog.kt index 988053bfa637..221b2cd21c5f 100644 --- a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ConfigureUnloadedModulesDialog.kt +++ b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ConfigureUnloadedModulesDialog.kt @@ -229,6 +229,7 @@ private class ModuleDescriptionsTree(project: Project) { } fun fillTree(modules: Collection) { + removeAllNodes() helper.createModuleNodes(modules, root, model) tree.expandPath(TreePath(root)) }