Merge pull request #3872 from phit/fixcursedropdown
GH-3731 Limit Curserforge version height
This commit is contained in:
commit
09ce3d8f40
@ -17,6 +17,8 @@ FlamePage::FlamePage(NewInstanceDialog* dialog, QWidget *parent)
|
|||||||
listModel = new Flame::ListModel(this);
|
listModel = new Flame::ListModel(this);
|
||||||
ui->packView->setModel(listModel);
|
ui->packView->setModel(listModel);
|
||||||
|
|
||||||
|
ui->versionSelectionBox->setMaxVisibleItems(10);
|
||||||
|
|
||||||
// index is used to set the sorting with the curseforge api
|
// index is used to set the sorting with the curseforge api
|
||||||
ui->sortByBox->addItem(tr("Sort by featured"));
|
ui->sortByBox->addItem(tr("Sort by featured"));
|
||||||
ui->sortByBox->addItem(tr("Sort by popularity"));
|
ui->sortByBox->addItem(tr("Sort by popularity"));
|
||||||
|
Loading…
Reference in New Issue
Block a user