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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index 256a90d1c1..833055eff7 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -374,7 +374,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
no widgets in this window that we want to have
key focus.
*/
- return relay_key_press (event, &PublicEditor::instance());
+ return relay_key_press (event, 0);
} else {
return relay_key_press (event, this);
}