From 2297d4e746ea61826f4b3711e1c9b107f669c932 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 31 Jan 2012 13:41:06 +0100 Subject: [PATCH] don't show extra buttons in two-step confirmation dialog (IDEA-79906) --- platform/platform-api/src/com/intellij/openapi/ui/Messages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java index 5f91404727ea..575cd184e352 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java @@ -386,7 +386,7 @@ public class Messages { public static int showTwoStepConfirmationDialog(String message, String title, String checkboxText, Icon icon) { - return showCheckboxMessageDialog(message, title, new String[]{OK_BUTTON, CANCEL_BUTTON}, checkboxText, true, -1, -1, icon, null); + return showCheckboxMessageDialog(message, title, new String[]{OK_BUTTON}, checkboxText, true, -1, -1, icon, null); } public static void showErrorDialog(Project project, @Nls String message, @Nls String title) {