Disable speed search in option button popup

This commit is contained in:
Konstantin Kolosovsky
2018-01-30 01:13:45 +03:00
parent 49658d1a92
commit c968462fc7
@@ -355,6 +355,7 @@ open class BasicOptionButtonUI : OptionButtonUI() {
// if there is no default selection condition - -1 should be returned, this way first enabled action should be selected by
// OptionButtonPopup.afterShow() (if corresponding ensureSelection parameter is true)
override fun getDefaultOptionIndex() = defaultSelection?.let { super.getDefaultOptionIndex() } ?: -1
override fun isSpeedSearchEnabled() = false
}
open inner class ActionDelegate(val action: Action) : DumbAwareAction() {