1
0
mirror of https://github.com/citra-emu/citra.git synced 2024-12-28 14:50:05 +00:00

Merge pull request from jroweboy/fixup-config

Frontend: Only reload icons in chat when the chat room is open
This commit is contained in:
James Rowe 2019-01-17 12:38:37 -07:00 committed by GitHub
commit a6c52d31ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,8 @@ void MultiplayerState::UpdateThemedIcons() {
} else { } else {
status_icon->setPixmap(QIcon::fromTheme("disconnected").pixmap(16)); status_icon->setPixmap(QIcon::fromTheme("disconnected").pixmap(16));
} }
client_room->UpdateIconDisplay(); if (client_room)
client_room->UpdateIconDisplay();
} }
static void BringWidgetToFront(QWidget* widget) { static void BringWidgetToFront(QWidget* widget) {