13
0

allow return key in add route dialog to activate dialog response (no mouse required)

This commit is contained in:
Paul Davis 2024-05-21 09:30:29 -06:00
parent 2b0c7153a5
commit 56985164ba

View File

@ -31,6 +31,7 @@ LiveTraxAddTrackDialog::LiveTraxAddTrackDialog ()
, mono_button (channel_button_group, _("Mono"))
, stereo_button (channel_button_group, _("Stereo"))
{
track_count_spinner.signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &Gtk::Dialog::response), RESPONSE_OK));
get_vbox()->pack_start (track_count_spinner);
get_vbox()->pack_start (mono_button);