Skip to content

Commit

Permalink
do not start fullscreen in nonqubes
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Aug 5, 2020
1 parent 291350c commit 735af95
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions securedrop_client/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ def show_main_window(self, db_user: User = None) -> None:
"""
Show main application window.
"""
self.setWindowState(Qt.WindowFullScreen)
self.show()
if not self.controller.qubes:
self.showMaximized()
else:
self.setWindowState(Qt.WindowFullScreen)
self.show()

if db_user:
self.set_logged_in_as(db_user)
Expand Down

0 comments on commit 735af95

Please sign in to comment.