Skip to content

Commit

Permalink
Make the login modal, thus ensuring only one instance is possible at …
Browse files Browse the repository at this point in the history
…any one time.
  • Loading branch information
ntoll committed Mar 23, 2020
1 parent e7f8761 commit b726b51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit b726b51

Please sign in to comment.