summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r--gtk2_ardour/plugin_ui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index 9f22d1b54c..4823f9d474 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -357,8 +357,8 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
if (_pluginui->non_gtk_gui()) {
_pluginui->forward_key_event (event);
} else {
- if (!relay_key_press (event, this)) {
- return Window::on_key_press_event (event);
+ if (!Window::on_key_press_event (event)) {
+ return relay_key_press (event, this);
}
return true;
}
@@ -379,8 +379,8 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
*/
return relay_key_press (event, &PublicEditor::instance());
} else {
- if (!relay_key_press (event, this)) {
- return Window::on_key_press_event (event);
+ if (!Window::on_key_press_event (event)) {
+ return relay_key_press (event, this);
}
return true;
}