fix keyboard shorcuts in dialogs.

actually, for most dialogs, key-presses should never
be relayed. a get_modal() check might be the appropriate.
This commit is contained in:
Robin Gareus 2014-06-13 22:18:10 +02:00
parent 902e202f3e
commit e977b659af
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@ ArdourDialog::~ArdourDialog ()
bool
ArdourDialog::on_key_press_event (GdkEventKey* ev)
{
return relay_key_press (ev, this);
if (!relay_key_press (ev, this)) {
return Gtk::Window::on_key_press_event(ev);
}
return true;
}
bool