mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
available plugins: disable plugin download if there is no new version available (IDEA-65203)
This commit is contained in:
@@ -57,6 +57,7 @@ public class ActionInstallPlugin extends AnAction implements DumbAware {
|
||||
if (((PluginNode)descr).getStatus() == PluginNode.STATUS_INSTALLED) {
|
||||
presentation.setText(updateMessage);
|
||||
presentation.setDescription(updateMessage);
|
||||
enabled &= InstalledPluginsTableModel.hasNewerVersion(descr.getPluginId());
|
||||
}
|
||||
}
|
||||
else if (descr instanceof IdeaPluginDescriptorImpl) {
|
||||
|
||||
Reference in New Issue
Block a user