UI: Fix wxWidgets assert in InfinityPage (#1582)
Some checks failed
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Failing after 37s

This commit is contained in:
oltolm 2025-05-31 16:29:07 +02:00 committed by GitHub
parent 152b790242
commit 6df3e1742e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,9 +90,9 @@ wxPanel* EmulatedUSBDeviceFrame::AddSkylanderPage(wxNotebook* notebook)
wxPanel* EmulatedUSBDeviceFrame::AddInfinityPage(wxNotebook* notebook)
{
auto* panel = new wxPanel(notebook);
auto* panelSizer = new wxBoxSizer(wxBOTH);
auto* panelSizer = new wxBoxSizer(wxVERTICAL);
auto* box = new wxStaticBox(panel, wxID_ANY, _("Infinity Manager"));
auto* boxSizer = new wxStaticBoxSizer(box, wxBOTH);
auto* boxSizer = new wxStaticBoxSizer(box, wxVERTICAL);
auto* row = new wxBoxSizer(wxHORIZONTAL);
@ -831,4 +831,4 @@ uint8 MoveDimensionFigureDialog::GetNewIndex() const
std::array<std::optional<uint32>, 7> EmulatedUSBDeviceFrame::GetCurrentMinifigs()
{
return m_dimSlots;
}
}