diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/form/PromptsForm.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/form/PromptsForm.kt index e3531b45..2798fa31 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/form/PromptsForm.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/form/PromptsForm.kt @@ -146,13 +146,9 @@ class PromptsForm { } private fun expandAll() { - tree.expandPaths( - listOf( - TreePath(coreActionsNode.path), - TreePath(personasNode.path), - TreePath(chatActionsNode.path) - ) - ) + tree.expandPath(TreePath(coreActionsNode.path)) + tree.expandPath(TreePath(personasNode.path)) + tree.expandPath(TreePath(chatActionsNode.path)) } private fun isCoreActionsModified(settingsState: CoreActionsState): Boolean {