GenericUI: Show automation UI for dropdowns
[ardour.git] / gtk2_ardour / video_monitor.cc
index ece1856d545e8be9903f038307538611109a4452..1fe8f97f0918fcfbe1c19d248d87a20db579ac28 100644 (file)
@@ -28,7 +28,7 @@
 #include "editor.h"
 #include "video_monitor.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace PBD;
@@ -255,9 +255,7 @@ VideoMonitor::is_started ()
 void
 VideoMonitor::forward_keyevent (unsigned int keyval)
 {
-       Editor* ed = dynamic_cast<Editor*>(&PublicEditor::instance());
-       if (!ed) return;
-       emulate_key_event(ed, keyval);
+       emulate_key_event (keyval);
 }
 
 void