Frontend: Only reload icons in chat when the chat room is open
This commit is contained in:
parent
f110cd95a6
commit
3523831195
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue