mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Resolve Bundle Manager Input/Output label ambiguity
This commit is contained in:
parent
a55fe94b5e
commit
5eacf424b6
1 changed files with 5 additions and 5 deletions
|
|
@ -203,13 +203,13 @@ BundleEditor::BundleEditor (Session* session, boost::shared_ptr<UserBundle> bund
|
||||||
a = new Gtk::Alignment (0, 0.5, 0, 1);
|
a = new Gtk::Alignment (0, 0.5, 0, 1);
|
||||||
a->add (_input_or_output);
|
a->add (_input_or_output);
|
||||||
t->attach (*Gtk::manage (a), 1, 2, 1, 2);
|
t->attach (*Gtk::manage (a), 1, 2, 1, 2);
|
||||||
_input_or_output.append_text (_("Input"));
|
_input_or_output.append_text (_("Playback"));
|
||||||
_input_or_output.append_text (_("Output"));
|
_input_or_output.append_text (_("Capture"));
|
||||||
|
|
||||||
if (bundle->ports_are_inputs()) {
|
if (bundle->ports_are_inputs()) {
|
||||||
_input_or_output.set_active_text (_("Input"));
|
_input_or_output.set_active_text (_("Capture"));
|
||||||
} else {
|
} else {
|
||||||
_input_or_output.set_active_text (_("Output"));
|
_input_or_output.set_active_text (_("Playback"));
|
||||||
}
|
}
|
||||||
|
|
||||||
_input_or_output.signal_changed().connect (sigc::mem_fun (*this, &BundleEditor::input_or_output_changed));
|
_input_or_output.signal_changed().connect (sigc::mem_fun (*this, &BundleEditor::input_or_output_changed));
|
||||||
|
|
@ -243,7 +243,7 @@ BundleEditor::input_or_output_changed ()
|
||||||
{
|
{
|
||||||
_bundle->remove_ports_from_channels ();
|
_bundle->remove_ports_from_channels ();
|
||||||
|
|
||||||
if (_input_or_output.get_active_text() == _("Output")) {
|
if (_input_or_output.get_active_text() == _("Capture")) {
|
||||||
_bundle->set_ports_are_outputs ();
|
_bundle->set_ports_are_outputs ();
|
||||||
} else {
|
} else {
|
||||||
_bundle->set_ports_are_inputs ();
|
_bundle->set_ports_are_inputs ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue