diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e64670..33af903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ ## [Unreleased] - Upgraded Apache Ivy to 2.5.2 to address the CVE-2022-46751 vulnerability - rebased build on [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template) +- Fixed deprecation warning about ActionUpdateThread.OLD_EDT in IntelliJ IDEA 2024.2 ## [1.0.17] -- Upgraded Apache Ivy to 2.5.1 to address the CVE-2022-37865 and CVE-2022-37866 vulnerabilities. +- Upgraded Apache Ivy to 2.5.1 to address the CVE-2022-37865 and CVE-2022-37866 vulnerabilities ## [1.0.16] - Upgraded internal Apache Ivy to 2.5.0 diff --git a/src/main/java/org/clarent/ivyidea/ResolveForActiveModuleAction.java b/src/main/java/org/clarent/ivyidea/ResolveForActiveModuleAction.java index ddd7bc2..632e5e9 100644 --- a/src/main/java/org/clarent/ivyidea/ResolveForActiveModuleAction.java +++ b/src/main/java/org/clarent/ivyidea/ResolveForActiveModuleAction.java @@ -16,6 +16,7 @@ package org.clarent.ivyidea; +import com.intellij.openapi.actionSystem.ActionUpdateThread; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.LangDataKeys; import com.intellij.openapi.actionSystem.Presentation; @@ -75,4 +76,9 @@ private void updatePresentation(Presentation presentation, Module activeModule) presentation.setEnabled(linkEnabled); presentation.setVisible(linkEnabled); } + + @Override + public @NotNull ActionUpdateThread getActionUpdateThread() { + return ActionUpdateThread.EDT; + } }