Skip to content

Commit

Permalink
app: set ExportDialog as a modal to stop interaction with the parent
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero authored and sssoleileraaa committed Oct 17, 2019
1 parent 951f800 commit f6cb83c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,7 @@ def __init__(self, controller, file_uuid):
self.setObjectName('export_dialog')
self.setStyleSheet(self.CSS)
self.setWindowFlags(Qt.Popup)
self.setWindowModality(Qt.WindowModal)

layout = QVBoxLayout(self)
self.setLayout(layout)
Expand Down

0 comments on commit f6cb83c

Please sign in to comment.