mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Minor cleanup
GitOrigin-RevId: 827dde65f70a0ea2741faea4f28064c220940404
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a886bfaee
commit
3c711dec38
@@ -312,7 +312,7 @@ public class SearchUtil {
|
||||
final TabbedPaneWrapper tabbedPaneWrapper = ((TabbedPaneWrapper.TabbedPaneHolder)rootComponent).getTabbedPaneWrapper();
|
||||
final String path = SearchableOptionsRegistrar.getInstance().getInnerPath(configurable, option);
|
||||
if (path != null) {
|
||||
final int index = getSelection(path, tabbedPaneWrapper.getTabCount(), i -> tabbedPaneWrapper.getTitleAt(i));;
|
||||
final int index = getSelection(path, tabbedPaneWrapper.getTabCount(), i -> tabbedPaneWrapper.getTitleAt(i));
|
||||
if (index > -1 && index < tabbedPaneWrapper.getTabCount()) {
|
||||
highlightComponent((JComponent)tabbedPaneWrapper.getTabComponentAt(index), option);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user