summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/plugin_ui.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index 4823f9d474..aef165af58 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -357,10 +357,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
if (_pluginui->non_gtk_gui()) {
_pluginui->forward_key_event (event);
} else {
- if (!Window::on_key_press_event (event)) {
return relay_key_press (event, this);
- }
- return true;
}
}
return true;
@@ -379,10 +376,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
*/
return relay_key_press (event, &PublicEditor::instance());
} else {
- if (!Window::on_key_press_event (event)) {
- return relay_key_press (event, this);
- }
- return true;
+ return relay_key_press (event, this);
}
} else {
return false;