summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_dialog.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-13 01:00:53 -0500
committerDavid Robillard <d@drobilla.net>2015-01-13 01:00:53 -0500
commit877492ef8a5e5dff23a157d7a7950f027ba51ec1 (patch)
treed97d0718ed44a1b2e7baa19d4574a7ac0514d99e /gtk2_ardour/tempo_dialog.cc
parent9863d160fc5cf88bdb7e49fc050fa99dbd123f7b (diff)
Give tempo dialog initial focus to BPM spinner.
Diffstat (limited to 'gtk2_ardour/tempo_dialog.cc')
-rw-r--r--gtk2_ardour/tempo_dialog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc
index 4ca3bf32f4..18b5e144cb 100644
--- a/gtk2_ardour/tempo_dialog.cc
+++ b/gtk2_ardour/tempo_dialog.cc
@@ -165,6 +165,7 @@ TempoDialog::init (const Timecode::BBT_Time& when, double bpm, double note_type,
bpm_spinner.show ();
tap_tempo_button.show ();
get_vbox()->pack_end (tap_tempo_button);
+ bpm_spinner.grab_focus ();
set_name ("MetricDialog");