1
0
Fork 0

Merge pull request #4576 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
1 changed files with 2 additions and 1 deletions

View File

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