diff: enable "Show Diff in a New Tab|Window" in modal context (IDEA-273704)

Since in modal dialogs this action ca open diff in frame.

GitOrigin-RevId: 735c978a007d133d6a05c99e9a2ee83134812196
This commit is contained in:
Dmitry Zhuravlev
2021-07-14 15:40:04 +00:00
committed by intellij-monorepo-bot
parent 6245c57883
commit 0ccfddf062
@@ -20,6 +20,10 @@ class ShowStandaloneDiffAction : ExtendableAction(EP_NAME), DumbAware {
"com.intellij.diff.actions.ShowStandaloneDiffAction.ExtensionProvider")
}
init {
isEnabledInModalContext = true
}
override fun commonUpdate(e: AnActionEvent) {
val project = e.project