mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-232707 refactor: remove unnecessary references to myInstalledSearchPanel
GitOrigin-RevId: 97671412657f2f54628b6a12c80ad277d7cce374
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0b408d5619
commit
5499047fb1
@@ -734,13 +734,13 @@ class InstalledPluginsTab extends PluginsTab {
|
||||
if (!result.getModels().isEmpty()) {
|
||||
if (parser.invalid) {
|
||||
myPluginModelFacade.getModel().setInvalidFixCallback(() -> {
|
||||
PluginsGroup group = myInstalledSearchPanel.getGroup();
|
||||
PluginsGroup group = getGroup();
|
||||
if (group.ui == null) {
|
||||
myPluginModelFacade.getModel().setInvalidFixCallback(null);
|
||||
return;
|
||||
}
|
||||
|
||||
PluginsGroupComponent resultPanel = myInstalledSearchPanel.getPanel();
|
||||
PluginsGroupComponent resultPanel = getPanel();
|
||||
|
||||
for (PluginUiModel descriptor : new ArrayList<>(group.getModels())) {
|
||||
if (myPluginModelFacade.getErrors(descriptor).isEmpty()) {
|
||||
@@ -749,11 +749,11 @@ class InstalledPluginsTab extends PluginsTab {
|
||||
}
|
||||
|
||||
group.titleWithCount();
|
||||
myInstalledSearchPanel.fullRepaint();
|
||||
fullRepaint();
|
||||
|
||||
if (group.getModels().isEmpty()) {
|
||||
myPluginModelFacade.getModel().setInvalidFixCallback(null);
|
||||
myInstalledSearchPanel.removeGroup();
|
||||
removeGroup();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -772,7 +772,7 @@ class InstalledPluginsTab extends PluginsTab {
|
||||
//noinspection unchecked
|
||||
applyUpdates(myPanel, (Collection<PluginUiModel>)updates);
|
||||
mySelectionListener.accept(myInstalledPanel);
|
||||
mySelectionListener.accept(myInstalledSearchPanel.getPanel());
|
||||
mySelectionListener.accept(getPanel());
|
||||
};
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user