remove add trigger check box from add route dialog (always use triggers)

This commit is contained in:
Paul Davis 2021-12-13 15:12:30 -07:00
parent 087bdaa87b
commit 237dfb53e7
3 changed files with 1 additions and 15 deletions

View file

@ -80,7 +80,6 @@ AddRouteDialog::AddRouteDialog ()
, strict_io_label (_("Pin Mode:"))
, mode_label (_("Record Mode:"))
, instrument_label (_("Instrument:"))
, with_triggers_label (_("Add TriggerBox:"))
, last_route_count (1)
, route_count_set_by_template (false)
, name_edited_by_user (false)
@ -311,10 +310,6 @@ AddRouteDialog::AddRouteDialog ()
++n;
}
with_triggers_label.set_alignment (Gtk::ALIGN_RIGHT, Gtk::ALIGN_CENTER);
settings_table->attach (with_triggers_label, 4, 5, n, n+1, Gtk::FILL, Gtk::SHRINK, 0, 0);
settings_table->attach (with_triggers, 5, 6, n, n+1, Gtk::FILL, Gtk::SHRINK, 0, 0);
++n;
HBox* outer_box = manage (new HBox);
@ -1007,12 +1002,6 @@ AddRouteDialog::route_group ()
return _session->route_group_by_name (route_group_combo.get_active_text());
}
bool
AddRouteDialog::use_triggers() {
return with_triggers.get_active();
}
bool
AddRouteDialog::use_strict_io() {
return strict_io_combo.get_active_row_number () == 1;