From 0af587729f2ab75ee6aaaaf81674a93c27e8a8f7 Mon Sep 17 00:00:00 2001 From: Allie Crevier Date: Tue, 20 Jul 2021 17:03:14 -0700 Subject: [PATCH] set focus to default button --- securedrop_client/gui/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index 0c8c40261..62175ec06 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -3204,6 +3204,7 @@ def __init__(self, source, controller): self.continue_button.setText(_("YES, DELETE FILES AND MESSAGES")) self.continue_button.clicked.connect(self.delete_conversation) + self.continue_button.setFocus() self.adjustSize()