mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IDEA-260894 Add Copy action to the BufferedImage display
GitOrigin-RevId: 47a8092bbf42ac54013c58c913a9a09d8c54e48c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d53ddc1f22
commit
86fc9d76d3
@@ -607,7 +607,7 @@ final class ImageEditorUI extends JPanel implements DataProvider, CopyProvider,
|
||||
PsiElement psi = findPsiFile();
|
||||
return psi != null ? new PsiElement[]{psi} : PsiElement.EMPTY_ARRAY;
|
||||
}
|
||||
else if (PlatformDataKeys.COPY_PROVIDER.is(dataId) && copyPasteSupport != null) {
|
||||
else if (PlatformDataKeys.COPY_PROVIDER.is(dataId)) {
|
||||
return this;
|
||||
}
|
||||
else if (PlatformDataKeys.CUT_PROVIDER.is(dataId) && copyPasteSupport != null) {
|
||||
|
||||
Reference in New Issue
Block a user