diff --git a/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java b/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java index 2d9388270cd8..158ea2079262 100644 --- a/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java +++ b/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java @@ -332,7 +332,7 @@ class InstalledPluginsTab extends PluginsTab { panel.setSelectionListener(selectionListener); registerCopyProvider(panel); - myInstalledSearchPanel = new InstalledTabSearchResultPanel(myCoroutineScope, installedController, panel, selectionListener); + myInstalledSearchPanel = new InstalledTabSearchResultPanel(myCoroutineScope, installedController, panel, selectionListener, mySearchInMarketplaceTabHandler); return myInstalledSearchPanel; } @@ -611,13 +611,16 @@ class InstalledPluginsTab extends PluginsTab { private class InstalledTabSearchResultPanel extends SearchResultPanel { private final @NotNull Consumer mySelectionListener; + private final @Nullable Consumer mySearchInMarketplaceTabHandler; InstalledTabSearchResultPanel(CoroutineScope coroutineScope, SearchUpDownPopupController installedController, PluginsGroupComponentWithProgress panel, - @NotNull Consumer selectionListener) { + @NotNull Consumer selectionListener, + @Nullable Consumer searchInMarketplaceTabHandler) { super(coroutineScope, installedController, panel, false); mySelectionListener = selectionListener; + mySearchInMarketplaceTabHandler = searchInMarketplaceTabHandler; } @Override