From 35238311957102b8b4b06da1d30723b547937288 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Thu, 17 Jan 2019 12:25:17 -0700 Subject: [PATCH] Frontend: Only reload icons in chat when the chat room is open --- src/citra_qt/multiplayer/state.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/citra_qt/multiplayer/state.cpp b/src/citra_qt/multiplayer/state.cpp index ba717650ac..121d76b90d 100644 --- a/src/citra_qt/multiplayer/state.cpp +++ b/src/citra_qt/multiplayer/state.cpp @@ -194,7 +194,8 @@ void MultiplayerState::UpdateThemedIcons() { } else { status_icon->setPixmap(QIcon::fromTheme("disconnected").pixmap(16)); } - client_room->UpdateIconDisplay(); + if (client_room) + client_room->UpdateIconDisplay(); } static void BringWidgetToFront(QWidget* widget) {