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

pull/116/head
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(); int n = audio_output.size();
Logger log(this);
if ( w == dec_button ) if ( w == dec_button )
{ {
--n; --n;
@ -345,11 +347,7 @@ JACK_Module::cb_button( Fl_Widget *w )
++n; ++n;
} }
if ( chain()->can_configure_outputs( this, n ) ) control_input[1].control_value( n );
{
configure_outputs( n );
chain()->configure_ports();
}
} }
int int