diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-06-09 18:17:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 18:17:46 -0500 |
| commit | 2adb32bb61a62bb085d5d62f4115ae21c6bb50cd (patch) | |
| tree | 02f373cc0bf40428ac685417c19ff133420509de | |
| parent | fbce4937efdd01791dca7c8a40c14b43ef487365 (diff) | |
| parent | 097bc3d4f7c5664ac54cd16b289660b03c7fdceb (diff) | |
Merge pull request #559 from AttorneyOnline/fix/serverlist-selection
Fix first server in server list not initiating connections unless another server was selected first
| -rw-r--r-- | include/lobby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lobby.h b/include/lobby.h index 0f066ab..0f1610f 100644 --- a/include/lobby.h +++ b/include/lobby.h @@ -84,7 +84,7 @@ private: QProgressBar *ui_progress_bar; AOButton *ui_cancel; - int last_index; + int last_index = -1; void set_size_and_pos(QWidget *p_widget, QString p_identifier); |
