Skip to content

Commit

Permalink
exit app on main window close
Browse files Browse the repository at this point in the history
  • Loading branch information
shotwn committed Apr 3, 2020
1 parent cef3c81 commit f1e48ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ def toggle_live_sync(self):
def show_offset_window(self):
self.gui_root.offset_window = OffsetWindow(self.gui_root)
self.gui_root.offset_window.show()

def closeEvent(self, event):
event.accept()
self.gui_root.app.quit()

0 comments on commit f1e48ba

Please sign in to comment.