aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/PromptService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/PromptService.cpp')
-rw-r--r--embed/mozilla/PromptService.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/PromptService.cpp b/embed/mozilla/PromptService.cpp
index e6181ae32..6674bdd63 100644
--- a/embed/mozilla/PromptService.cpp
+++ b/embed/mozilla/PromptService.cpp
@@ -143,6 +143,7 @@ NS_IMETHODIMP CPromptService::AlertCheck (nsIDOMWindow *parent,
set_title (dialog, dialogTitle);
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_run (GTK_DIALOG (dialog));
get_check_button (check_button, checkValue);
gtk_widget_destroy (dialog);