Speed search is enable in add import action #KT-13326 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-09-13 19:32:13 +03:00
parent 556df93ca7
commit cdf4309e04
@@ -134,6 +134,8 @@ class KotlinAddImportAction internal constructor(
return object : BaseListPopupStep<AutoImportVariant>(KotlinBundle.message("imports.chooser.title"), variants) {
override fun isAutoSelectionEnabled() = false
override fun isSpeedSearchEnabled() = true
override fun onChosen(selectedValue: AutoImportVariant?, finalChoice: Boolean): PopupStep<String>? {
if (selectedValue == null || project.isDisposed) return null