diff options
| author | windrammer <31085911+likeawindrammer@users.noreply.github.com> | 2020-07-27 11:08:14 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 12:08:14 -0500 |
| commit | 37520f9318c12fe07c11f6dd04c30377a3427ea7 (patch) | |
| tree | 61d0466af4813ecf5421bfe80feacc1218d52eae /src/lobby.cpp | |
| parent | d9d9232ea8125f59d1e5fb3cf48fbcec6f530529 (diff) | |
Fix connect button issue when using favorites list (#206)
Co-authored-by: Cents02 <Cents02@Cents0.me>
Diffstat (limited to 'src/lobby.cpp')
| -rw-r--r-- | src/lobby.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index 92878114..3aa488ad 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -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; |
