make ArdourDialog and ArdourWindow call ::relay_key_press() which fixes the "not...
[ardour.git] / gtk2_ardour / ardour_dialog.cc
index 07d5d47d6b10a42c2bd00a8d291927a169e03f3f..8231289c5a361563ee4c0f61e7430c7782bc1317 100644 (file)
@@ -26,6 +26,7 @@
 #include "ardour_ui.h"
 #include "keyboard.h"
 #include "splash.h"
+#include "utils.h"
 
 using namespace std;
 using namespace Gtk;
@@ -58,6 +59,12 @@ ArdourDialog::~ArdourDialog ()
         }
 }
 
+bool
+ArdourDialog::on_key_press_event (GdkEventKey* ev)
+{
+       return relay_key_press (ev, this);
+}
+
 bool
 ArdourDialog::on_enter_notify_event (GdkEventCrossing *ev)
 {