From b45aa6952f14e1789c98d19b1958e7effc2d92eb Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 23 Nov 2010 15:40:43 +0300 Subject: [PATCH] mark command as global to undo from IRV (IDEA-37280) --- .../codeInspection/ui/actions/SuppressActionWrapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/SuppressActionWrapper.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/SuppressActionWrapper.java index 674e563a8a32..3dd00ee20988 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/SuppressActionWrapper.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/SuppressActionWrapper.java @@ -152,6 +152,7 @@ public class SuppressActionWrapper extends ActionGroup { for (GlobalInspectionContextImpl context : globalInspectionContexts) { context.refreshViews(); } + CommandProcessor.getInstance().markCurrentCommandAsGlobal(myProject); } }, getTemplatePresentation().getText(), null); }