Skip to content
Browse files

platex: fixed bug that prevented process to exit once closed the main…

… window
  • Loading branch information...
1 parent 47b3f16 commit 1839f040a89f0305445f90cb56b5f240947726d6 @chiva committed Apr 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 ui/mainwindow.py
View
4 ui/mainwindow.py
@@ -64,3 +64,7 @@ def on_tabWidget_currentChanged(self, index):
self.tabs[self.lastIndex].exitTab()
self.tabs[index].enterTab()
self.lastIndex = index
+
+ def closeEvent(self, event):
+ self.board.exit()
+ event.accept()

0 comments on commit 1839f04

Please sign in to comment.
Something went wrong with that request. Please try again.