Searched refs:first_active (Results 1 – 3 of 3) sorted by relevance
386 int first_active = -1; in updateNetworks() local440 } else if (first_active < 0 && strstr(flags, "[DISABLED]") == NULL) in updateNetworks()441 first_active = networkSelect->count() - 1; in updateNetworks()448 if (!selected && first_active >= 0) in updateNetworks()449 networkSelect->setCurrentItem(first_active); in updateNetworks()
581 int first_active = -1; in updateNetworks() local642 } else if (first_active < 0 && in updateNetworks()644 first_active = networkSelect->count() - 1; in updateNetworks()654 if (!current && first_active >= 0) in updateNetworks()655 networkSelect->setCurrentIndex(first_active); in updateNetworks()
601 int first_active = -1; in updateNetworks() local669 } else if (first_active < 0 && in updateNetworks()671 first_active = networkSelect->count() - 1; in updateNetworks()681 if (!current && first_active >= 0) in updateNetworks()682 networkSelect->setCurrentIndex(first_active); in updateNetworks()