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:
commit
a6c52d31ca
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue