aboutsummaryrefslogtreecommitdiffstats
path: root/gui-project/src
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2024-11-09 23:29:08 +0100
committerEddy Pedroni <epedroni@pm.me>2024-11-09 23:29:08 +0100
commit7c00f418caf8f1e9fcb235563127a9c8cea22bb4 (patch)
tree286b790e1b1cd28d078212721f3721df7efddbcd /gui-project/src
parentf676c50ba91ca6d4d0da9f77aeadc8b3fb16dc26 (diff)
Minor GUI improvement
Diffstat (limited to 'gui-project/src')
-rw-r--r--gui-project/src/solo_tool_gui.py4
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")