13
0

Engine Dialog: focus OK button (press enter to cont w/previous settings)

This commit is contained in:
Robin Gareus 2014-09-01 22:06:45 +02:00
parent 9f0caacc5c
commit 001e4ca684
2 changed files with 8 additions and 0 deletions

View File

@ -300,6 +300,13 @@ EngineControl::EngineControl ()
notebook.signal_switch_page().connect (sigc::mem_fun (*this, &EngineControl::on_switch_page));
}
void
EngineControl::on_show ()
{
ArdourDialog::on_show ();
ok_button->grab_focus();
}
void
EngineControl::on_response (int response_id)
{

View File

@ -221,6 +221,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
void build_full_control_notebook ();
void build_no_control_notebook ();
void on_show ();
void on_response (int);
void control_app_button_clicked ();
void use_latency_button_clicked ();