diff options
Diffstat (limited to 'gui-project/src/solo_tool_gui.py')
-rw-r--r-- | gui-project/src/solo_tool_gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui-project/src/solo_tool_gui.py b/gui-project/src/solo_tool_gui.py index 0488f84..cd73c9a 100644 --- a/gui-project/src/solo_tool_gui.py +++ b/gui-project/src/solo_tool_gui.py @@ -231,6 +231,10 @@ class MainWindow(QMainWindow, Ui_MainWindow): if event.key() == Qt.Key_Super_L: self.soloTool.jumpToA() + def closeEvent(self, event): + self.midiController.disconnect() + event.accept() + def main(): app = QApplication([]) app.setApplicationName("Solo Tool") |