From 6c29d441f4cb9e6038fe1d7aed06d842551157f0 Mon Sep 17 00:00:00 2001
From: zhupengfei <zhupf321@gmail.com>
Date: Wed, 7 Nov 2018 22:41:56 +0800
Subject: [PATCH] multiplayer: fix "Connected" message not appearing on first
 connection

---
 src/citra_qt/multiplayer/client_room.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/citra_qt/multiplayer/client_room.cpp b/src/citra_qt/multiplayer/client_room.cpp
index 3c18cc474..16f9a58d7 100644
--- a/src/citra_qt/multiplayer/client_room.cpp
+++ b/src/citra_qt/multiplayer/client_room.cpp
@@ -33,6 +33,8 @@ ClientRoomWindow::ClientRoomWindow(QWidget* parent)
         connect(this, &ClientRoomWindow::RoomInformationChanged, this,
                 &ClientRoomWindow::OnRoomUpdate);
         connect(this, &ClientRoomWindow::StateChanged, this, &::ClientRoomWindow::OnStateChange);
+        // Update the state
+        OnStateChange(member->GetState());
     } else {
         // TODO (jroweboy) network was not initialized?
     }