mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +00:00
GH-3731 Limit Curserforge version height
This commit is contained in:
@@ -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"));
|
||||||
|
Reference in New Issue
Block a user