13
0

reverse logic in plugin GUI key handling

This commit is contained in:
Paul Davis 2015-04-01 14:13:14 -04:00
parent f201b19604
commit 1b1c66b77d

View File

@ -357,8 +357,8 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
if (_pluginui->non_gtk_gui()) {
_pluginui->forward_key_event (event);
} else {
if (!relay_key_press (event, this)) {
return Window::on_key_press_event (event);
if (!Window::on_key_press_event (event)) {
return relay_key_press (event, this);
}
return true;
}
@ -379,8 +379,8 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
*/
return relay_key_press (event, &PublicEditor::instance());
} else {
if (!relay_key_press (event, this)) {
return Window::on_key_press_event (event);
if (!Window::on_key_press_event (event)) {
return relay_key_press (event, this);
}
return true;
}