From d8392baa40a2971f1310e48031c74bcb24a50ca7 Mon Sep 17 00:00:00 2001 From: Jordy Ruiz Date: Mon, 10 Dec 2018 17:50:37 +0100 Subject: [PATCH] Default general settings listboxes to none selected --- src/game/client/components/menus.cpp | 2 +- src/game/client/components/menus.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index de4f9bf1a..fd47bb297 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -80,7 +80,7 @@ CMenus::CMenus() m_SelectedServer.m_Filter = -1; m_SelectedServer.m_Index = -1; - m_ActiveListBox = ACTLB_THEME; + m_ActiveListBox = ACTLB_NONE; } float CMenus::ButtonFade(CButtonContainer *pBC, float Seconds, int Checked) diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index 22740313f..5f256823c 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -176,7 +176,8 @@ private: SETTINGS_GRAPHICS, SETTINGS_SOUND, - ACTLB_LANG=0, + ACTLB_NONE=0, + ACTLB_LANG, ACTLB_THEME, };