don't always redirect key press events off to the editor, but allow editing instead
git-svn-id: svn://localhost/ardour2/trunk@1097 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -122,13 +122,17 @@ PluginUIWindow::~PluginUIWindow ()
|
||||
bool
|
||||
PluginUIWindow::on_key_press_event (GdkEventKey* event)
|
||||
{
|
||||
return PublicEditor::instance().on_key_press_event(event);
|
||||
if (!key_press_focus_accelerator_handler (*this, event)) {
|
||||
return PublicEditor::instance().on_key_press_event(event);
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
PluginUIWindow::on_key_release_event (GdkEventKey* event)
|
||||
{
|
||||
return PublicEditor::instance().on_key_release_event(event);
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user