void CaptureInterfacesDialog::interfaceSelected()
{
    InterfaceTree::updateGlobalDeviceSelections(ui->interfaceTree, col_interface_);

    ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled((global_capture_opts.num_selected > 0) ? true: false);

    emit interfacesChanged();

    updateSelectedFilter();

    updateWidgets();
}
void CaptureInterfacesDialog::interfaceSelected()
{
    if (sender() == ui->interfaceTree) {
        // Local changes, propagate our changes
        updateGlobalDeviceSelections();
        emit interfacesChanged();
    } else {
        // Changes from the welcome screen, adjust to its state.
        updateFromGlobalDeviceSelections();
    }

    updateSelectedFilter();

    updateWidgets();
}