aboutsummaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2021-06-18 19:10:18 +0200
committerGitHub <noreply@github.com>2021-06-18 19:10:18 +0200
commit09ce3d8f40fabf761077aff4231ad9ca4fc0da4c (patch)
treea0919686614b8596288c9fa197da76e695be9770 /application
parent434adc4cd7d0fe41cab1d18ffe39df7d229bac27 (diff)
parent00820df656a5c6fce8fd1023e2de73a269545b80 (diff)
downloadPrismLauncher-09ce3d8f40fabf761077aff4231ad9ca4fc0da4c.tar.gz
PrismLauncher-09ce3d8f40fabf761077aff4231ad9ca4fc0da4c.tar.bz2
PrismLauncher-09ce3d8f40fabf761077aff4231ad9ca4fc0da4c.zip
Merge pull request #3872 from phit/fixcursedropdown
GH-3731 Limit Curserforge version height
Diffstat (limited to 'application')
-rw-r--r--application/pages/modplatform/flame/FlamePage.cpp2
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"));