diff options
author | phit <2097483+phit@users.noreply.github.com> | 2021-06-18 18:31:14 +0200 |
---|---|---|
committer | phit <2097483+phit@users.noreply.github.com> | 2021-06-18 18:31:14 +0200 |
commit | 00820df656a5c6fce8fd1023e2de73a269545b80 (patch) | |
tree | a0919686614b8596288c9fa197da76e695be9770 | |
parent | 434adc4cd7d0fe41cab1d18ffe39df7d229bac27 (diff) | |
download | PrismLauncher-00820df656a5c6fce8fd1023e2de73a269545b80.tar.gz PrismLauncher-00820df656a5c6fce8fd1023e2de73a269545b80.tar.bz2 PrismLauncher-00820df656a5c6fce8fd1023e2de73a269545b80.zip |
GH-3731 Limit Curserforge version height
-rw-r--r-- | application/pages/modplatform/flame/FlamePage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/pages/modplatform/flame/FlamePage.cpp b/application/pages/modplatform/flame/FlamePage.cpp index 1fadc501..171d8d65 100644 --- a/application/pages/modplatform/flame/FlamePage.cpp +++ b/application/pages/modplatform/flame/FlamePage.cpp @@ -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")); |