Skip to content

Commit

Permalink
Merge pull request #978 from ntoll/modal-login-widget
Browse files Browse the repository at this point in the history
Make the login modal, thus ensuring only one instance is possible at once.
  • Loading branch information
redshiftzero authored Mar 23, 2020
2 parents e7f8761 + b726b51 commit 7220944
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 7220944

Please sign in to comment.