summaryrefslogtreecommitdiff
path: root/gtk2_ardour/startup.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-09-15 12:18:35 +0000
committerCarl Hetherington <carl@carlh.net>2012-09-15 12:18:35 +0000
commitdd7c0dcf30189f56d71fa2ffde8c0d60c6845ebe (patch)
tree38db24563a48e57f2fc2b98a5549cc81bc2f6d8c /gtk2_ardour/startup.cc
parentd1a470038f5a2b0373743a288afd09e5041c63a1 (diff)
Improve sensitization of buttons in the advanced options
part of the startup dialog. git-svn-id: svn://localhost/ardour2/branches/3.0@13189 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/startup.cc')
-rw-r--r--gtk2_ardour/startup.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc
index 684041f2c3..f35d6020fa 100644
--- a/gtk2_ardour/startup.cc
+++ b/gtk2_ardour/startup.cc
@@ -1336,9 +1336,12 @@ ArdourStartup::connect_inputs_clicked ()
void
ArdourStartup::connect_outputs_clicked ()
{
- _limit_output_ports.set_sensitive(_connect_outputs.get_active());
+ bool const co = _connect_outputs.get_active ();
+ _limit_output_ports.set_sensitive(co);
+ _connect_outputs_to_master.set_sensitive(co);
+ _connect_outputs_to_physical.set_sensitive(co);
- if (_connect_outputs.get_active() && _limit_output_ports.get_active()) {
+ if (co && _limit_output_ports.get_active()) {
_output_limit_count.set_sensitive(true);
} else {
_output_limit_count.set_sensitive(false);
@@ -1360,9 +1363,10 @@ ArdourStartup::limit_outputs_clicked ()
void
ArdourStartup::master_bus_button_clicked ()
{
- bool yn = _create_master_bus.get_active();
+ bool const yn = _create_master_bus.get_active();
_master_bus_channel_count.set_sensitive(yn);
+ _connect_outputs_to_master.set_sensitive(yn);
}
void