From 1b1c66b77d9c34f72d648336f7e2a34a322de369 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 1 Apr 2015 14:13:14 -0400 Subject: [PATCH] reverse logic in plugin GUI key handling --- gtk2_ardour/plugin_ui.cc | 8 ++++---- 1 file 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; }