Fix #4379
This commit is contained in:
parent
736209abbe
commit
7eb896fe7f
@ -42,6 +42,7 @@
|
|||||||
#include "guiengine/widget.hpp"
|
#include "guiengine/widget.hpp"
|
||||||
#include "io/file_manager.hpp"
|
#include "io/file_manager.hpp"
|
||||||
#include "items/powerup_manager.hpp"
|
#include "items/powerup_manager.hpp"
|
||||||
|
#include "modes/world.hpp"
|
||||||
#include "online/request_manager.hpp"
|
#include "online/request_manager.hpp"
|
||||||
#include "states_screens/dialogs/message_dialog.hpp"
|
#include "states_screens/dialogs/message_dialog.hpp"
|
||||||
#include "states_screens/main_menu_screen.hpp"
|
#include "states_screens/main_menu_screen.hpp"
|
||||||
@ -466,6 +467,8 @@ void OptionsScreenUI::eventCallback(Widget* widget, const std::string& name, con
|
|||||||
GUIEngine::SpinnerWidget* minimap_options = getWidget<GUIEngine::SpinnerWidget>("minimap");
|
GUIEngine::SpinnerWidget* minimap_options = getWidget<GUIEngine::SpinnerWidget>("minimap");
|
||||||
assert( minimap_options != NULL );
|
assert( minimap_options != NULL );
|
||||||
UserConfigParams::m_minimap_display = minimap_options->getValue();
|
UserConfigParams::m_minimap_display = minimap_options->getValue();
|
||||||
|
if (World::getWorld())
|
||||||
|
World::getWorld()->getRaceGUI()->recreateGUI();
|
||||||
}
|
}
|
||||||
else if (name == "font_size")
|
else if (name == "font_size")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user