summaryrefslogtreecommitdiff
path: root/Userland/Applications/Piano/MainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Piano/MainWidget.cpp')
-rw-r--r--Userland/Applications/Piano/MainWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/Piano/MainWidget.cpp b/Userland/Applications/Piano/MainWidget.cpp
index 571a86de98..2c83269f73 100644
--- a/Userland/Applications/Piano/MainWidget.cpp
+++ b/Userland/Applications/Piano/MainWidget.cpp
@@ -119,6 +119,9 @@ void MainWidget::special_key_action(int key_code)
case Key_C:
m_knobs_widget->cycle_waveform();
break;
+ case Key_Space:
+ m_player_widget->toggle_paused();
+ break;
}
}