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:
parent
902e202f3e
commit
e977b659af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user