Mixer: Fix saving of JACK inputs setting as adjusted from buttons on JACK module.

This commit is contained in:
Jonathan Moore Liles 2013-08-23 17:04:42 -07:00
parent 4c5551ad8e
commit 865a14b74b
1 changed files with 4 additions and 6 deletions

View File

@ -336,6 +336,8 @@ JACK_Module::cb_button( Fl_Widget *w )
{
int n = audio_output.size();
Logger log(this);
if ( w == dec_button )
{
--n;
@ -345,11 +347,7 @@ JACK_Module::cb_button( Fl_Widget *w )
++n;
}
if ( chain()->can_configure_outputs( this, n ) )
{
configure_outputs( n );
chain()->configure_ports();
}
control_input[1].control_value( n );
}
int