From 569ee78df757c2011cc390f72ffc78312055287c Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 5 May 2024 11:32:32 +0200 Subject: [PATCH] Launcher: parse maps and playlists on surface setup This allows you to scroll through the combo list with the scroll wheel without uncollapsing it. --- r5dev/sdklauncher/basepanel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/r5dev/sdklauncher/basepanel.cpp b/r5dev/sdklauncher/basepanel.cpp index 31d6ac8b..c24e4e1b 100644 --- a/r5dev/sdklauncher/basepanel.cpp +++ b/r5dev/sdklauncher/basepanel.cpp @@ -539,6 +539,11 @@ void CSurface::Init() //----------------------------------------------------------------------------- void CSurface::Setup() { + // Already parse these out since you can scroll select in a combo box + // without uncollapsing it. + this->ParseMaps(); + this->ParsePlaylists(); + this->m_ModeCombo->Items.Add("Host"); this->m_ModeCombo->Items.Add("Server"); this->m_ModeCombo->Items.Add("Client");