From 1a8dbbdc748017bc5915019de7d59ff8088e7a4f Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 23 Feb 2024 22:30:43 +0800 Subject: [PATCH] Fix #5024 --- src/states_screens/online/networking_lobby.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/states_screens/online/networking_lobby.cpp b/src/states_screens/online/networking_lobby.cpp index a25a52ee810..f42833491f8 100644 --- a/src/states_screens/online/networking_lobby.cpp +++ b/src/states_screens/online/networking_lobby.cpp @@ -891,6 +891,8 @@ void NetworkingLobby::tearDown() m_player_list = NULL; m_joined_server.reset(); m_header_text = _("Lobby"); + if (m_header) + m_header->setText(m_header_text, true); m_header_text_width = 0; // Server has a dummy network lobby too if (!NetworkConfig::get()->isClient())