Merge pull request #12 from mexchip/CloseCalculator

calculator: fixes window not closing with the Exit menu
This commit is contained in:
Martin Fitzpatrick 2019-02-13 22:26:30 +01:00 committed by GitHub
commit 626f32c9a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self.actionReset.triggered.connect(self.reset)
self.pushButton_ac.pressed.connect(self.reset)
self.actionExit.triggered.connect(self.close)
self.pushButton_m.pressed.connect(self.memory_store)
self.pushButton_mr.pressed.connect(self.memory_recall)