Give tempo dialog initial focus to BPM spinner.
authorDavid Robillard <d@drobilla.net>
Tue, 13 Jan 2015 06:00:53 +0000 (01:00 -0500)
committerDavid Robillard <d@drobilla.net>
Tue, 13 Jan 2015 06:00:53 +0000 (01:00 -0500)
gtk2_ardour/tempo_dialog.cc

index 4ca3bf32f4976b661dbf6692bb8a007e2041da7a..18b5e144cbc9a758834fbca92db2b09132e29d6c 100644 (file)
@@ -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");