hook up focus_button for LV2 GUIs
authorRobin Gareus <robin@gareus.org>
Sat, 21 Feb 2015 02:00:33 +0000 (03:00 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 21 Feb 2015 02:00:33 +0000 (03:00 +0100)
gtk2_ardour/plugin_ui.cc

index 9f11f410f939fa129fe0d482bba9f828d31511fc..717fd6d44be71ee52d7cd38a621a90e5059612a4 100644 (file)
@@ -333,6 +333,7 @@ PluginUIWindow::create_lv2_editor(boost::shared_ptr<PluginInsert> insert)
                _pluginui = lpu;
                add (*lpu);
                lpu->package (*this);
+               _pluginui->KeyboardFocused.connect (sigc::mem_fun (*this, &PluginUIWindow::keyboard_focused));
        }
 
        return true;