Comment 11 for bug 1853584

Revision history for this message
Robert Ancell (robert-ancell) wrote : Re: [18.04]Not able to adjust Audio input UI volume after connecting headset

I'd also change the second part of the patch to be clearer, i.e.

if (gtk_tree_model_iter_n_children (model, NULL) == 0)
                gtk_widget_set_sensitive (dialog->input_bar, FALSE);

The first part of the patch is a workaround for a bug elsewhere which is reporting things in the wrong order. The second part is a fix for a case that wasn't being handled correctly. So both seem correct to me.