mirror of
https://github.com/pythonguis/pythonguis-examples.git
synced 2025-01-13 16:42:55 +08:00
Merge pull request #12 from mexchip/CloseCalculator
calculator: fixes window not closing with the Exit menu
This commit is contained in:
commit
626f32c9a1
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user