don't show extra buttons in two-step confirmation dialog (IDEA-79906)
authorDmitry Jemerov <yole@jetbrains.com>
Tue, 31 Jan 2012 12:41:06 +0000 (13:41 +0100)
committerDmitry Jemerov <yole@jetbrains.com>
Tue, 31 Jan 2012 12:41:06 +0000 (13:41 +0100)
platform/platform-api/src/com/intellij/openapi/ui/Messages.java

index 5f91404727ea2cd744e22eef6d7f972ac2f5d513..575cd184e352c5f61208eac98c9b1f0dd0bd269f 100644 (file)
@@ -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) {