1
0
Fork 0

Fix: company livery window's instance variables were not set

pull/9953/merge
Rubidium 2025-03-08 15:23:08 +01:00 committed by rubidium42
parent f8478cdee4
commit cfa31849be
1 changed files with 7 additions and 7 deletions

View File

@ -594,13 +594,13 @@ public:
/** Company livery colour scheme window. */ /** Company livery colour scheme window. */
struct SelectCompanyLiveryWindow : public Window { struct SelectCompanyLiveryWindow : public Window {
private: private:
uint32_t sel; uint32_t sel = 0;
LiveryClass livery_class; LiveryClass livery_class{};
Dimension square; Dimension square{};
uint rows; uint rows = 0;
uint line_height; uint line_height = 0;
GUIGroupList groups; GUIGroupList groups{};
Scrollbar *vscroll; Scrollbar *vscroll = nullptr;
void ShowColourDropDownMenu(uint32_t widget) void ShowColourDropDownMenu(uint32_t widget)
{ {