From b726b51e84cbab0cadbfa76d1fa7ce8580795736 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Mon, 23 Mar 2020 14:26:35 +0000 Subject: [PATCH] Make the login modal, thus ensuring only one instance is possible at any one time. --- securedrop_client/gui/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index bc4f040f6..045c996df 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -1605,6 +1605,9 @@ def __init__(self, parent): self.parent = parent super().__init__(self.parent) + # Set modal + self.setModal(True) + # Set css id self.setObjectName('login_dialog')