don't show extra buttons in two-step confirmation dialog (IDEA-79906)

This commit is contained in:
Dmitry Jemerov
2012-01-31 13:41:06 +01:00
parent 0dedff992b
commit 2297d4e746
@@ -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) {