Request focus while navigating to expected declaration #KT-18490 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-08-29 16:00:19 +03:00
parent df125702c1
commit ba84c6adf3
@@ -35,5 +35,5 @@ fun getExpectedDeclarationTooltip(declaration: KtDeclaration): String? {
}
fun navigateToExpectedDeclaration(declaration: KtDeclaration) {
declaration.expectedDeclarationIfAny()?.navigate(false)
declaration.expectedDeclarationIfAny()?.navigate(/* request focus = */true)
}