Skip to content

Commit

Permalink
UI App: Always quit the app when window is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijenbergh committed Dec 22, 2022
1 parent b4206d8 commit 32302b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eduvpn/ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def on_quit(self, action: None = None, _param: None = None) -> None:

def on_window_closed(self) -> None:
logger.debug("window closed")
if not self.app.model.is_connected():
self.on_quit()
self.on_quit()

def enter_CopiedAnError(self):
self.connection_notification.show(
Expand Down

0 comments on commit 32302b3

Please sign in to comment.