Closing the main window now closes the whole program.

This commit is contained in:
Juan Pablo Caram
2014-11-20 11:52:08 -05:00
parent 47dd9e3715
commit 6cd256ad49
3 changed files with 23 additions and 5 deletions

View File

@@ -234,6 +234,9 @@ class FlatCAMGUI(QtGui.QMainWindow):
self.setWindowTitle('FlatCAM %s' % version)
self.show()
def closeEvent(self, event):
QtGui.qApp.quit()
class FlatCAMInfoBar(QtGui.QWidget):