Fix connect button issue when using favorites list (#206)

Co-authored-by: Cents02 <Cents02@Cents0.me>
This commit is contained in:
windrammer 2020-07-27 11:08:14 -06:00 committed by GitHub
parent d9d9232ea8
commit 37520f9318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,7 +404,7 @@ void Lobby::on_settings_clicked() { ao_app->call_settings_menu(); }
void Lobby::on_server_list_clicked(QTreeWidgetItem *p_item, int column)
{
column = 0;
if (p_item->text(column).toInt() != last_index) {
if (p_item->text(column).toInt() != last_index || !public_servers_selected) {
server_type f_server;
int n_server = p_item->text(column).toInt();
last_index = n_server;