Closing the main window now closes the whole program.
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user