RouteDialog: implicit "Add (+close)" on <enter> or double-click
This commit is contained in:
parent
201d536ee9
commit
62fc4621e5
@ -260,6 +260,10 @@ AddRouteDialog::AddRouteDialog ()
|
|||||||
route_group_combo.set_row_separator_func (sigc::mem_fun (*this, &AddRouteDialog::route_separator));
|
route_group_combo.set_row_separator_func (sigc::mem_fun (*this, &AddRouteDialog::route_separator));
|
||||||
route_group_combo.signal_changed ().connect (sigc::mem_fun (*this, &AddRouteDialog::group_changed));
|
route_group_combo.signal_changed ().connect (sigc::mem_fun (*this, &AddRouteDialog::group_changed));
|
||||||
|
|
||||||
|
routes_spinner.signal_activate ().connect (sigc::bind (sigc::mem_fun (*this, &Gtk::Dialog::response), AddAndClose));
|
||||||
|
name_template_entry.signal_activate ().connect (sigc::bind (sigc::mem_fun (*this, &Gtk::Dialog::response), AddAndClose));
|
||||||
|
trk_template_chooser.signal_row_activated ().connect (sigc::hide (sigc::hide (sigc::bind (sigc::mem_fun (*this, &Gtk::Dialog::response), AddAndClose))));
|
||||||
|
|
||||||
show_all_children ();
|
show_all_children ();
|
||||||
|
|
||||||
/* track template info will be managed whenever
|
/* track template info will be managed whenever
|
||||||
|
Loading…
Reference in New Issue
Block a user