mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 23:18:20 +01:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue