Merge pull request #3872 from phit/fixcursedropdown

GH-3731 Limit Curserforge version height
This commit is contained in:
Petr Mrázek 2021-06-18 19:10:18 +02:00 committed by GitHub
commit 09ce3d8f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,8 @@ FlamePage::FlamePage(NewInstanceDialog* dialog, QWidget *parent)
listModel = new Flame::ListModel(this);
ui->packView->setModel(listModel);
ui->versionSelectionBox->setMaxVisibleItems(10);
// index is used to set the sorting with the curseforge api
ui->sortByBox->addItem(tr("Sort by featured"));
ui->sortByBox->addItem(tr("Sort by popularity"));