From 730cce93ed45fad13783c6761457500f4bb69c3e Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Fri, 24 Apr 2020 19:40:00 +0300 Subject: [PATCH] Wizard: add arrows for module selection popup --- .../ui/secondStep/modulesEditor/CreateModuleOrTargetPopup.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/secondStep/modulesEditor/CreateModuleOrTargetPopup.kt b/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/secondStep/modulesEditor/CreateModuleOrTargetPopup.kt index 4ec1fee2f3f..cd923ffe19e 100644 --- a/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/secondStep/modulesEditor/CreateModuleOrTargetPopup.kt +++ b/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/secondStep/modulesEditor/CreateModuleOrTargetPopup.kt @@ -72,6 +72,11 @@ class CreateModuleOrTargetPopup private constructor( else -> null } + override fun hasSubstep(selectedValue: DisplayableSettingItem?): Boolean = + selectedValue is TargetConfiguratorGroupWithSubItems + + override fun isAutoSelectionEnabled(): Boolean = true + override fun getTextFor(value: DisplayableSettingItem): String = value.fullTextHtml override fun onChosen(selectedValue: DisplayableSettingItem?, finalChoice: Boolean): PopupStep<*>? {