summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-03-29 20:41:16 +0200
committerPetr Mrázek <peterix@gmail.com>2018-03-29 20:41:16 +0200
commitfa8f19b0460234223f6af9c73d6d49727c838703 (patch)
tree08a3b15e2bd6e5915fc0298d49a7e65235b87b90
parent370bbada876752fbae2a92999acab5ce5474a5ee (diff)
downloadMultiMC-fa8f19b0460234223f6af9c73d6d49727c838703.tar
MultiMC-fa8f19b0460234223f6af9c73d6d49727c838703.tar.gz
MultiMC-fa8f19b0460234223f6af9c73d6d49727c838703.tar.lz
MultiMC-fa8f19b0460234223f6af9c73d6d49727c838703.tar.xz
MultiMC-fa8f19b0460234223f6af9c73d6d49727c838703.zip
GH-2211 fix crash in first launch wizard
-rw-r--r--application/widgets/JavaSettingsWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/widgets/JavaSettingsWidget.cpp b/application/widgets/JavaSettingsWidget.cpp
index 13fad72a..1e9d5546 100644
--- a/application/widgets/JavaSettingsWidget.cpp
+++ b/application/widgets/JavaSettingsWidget.cpp
@@ -42,7 +42,6 @@ void JavaSettingsWidget::setupUi()
m_verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
m_versionWidget = new VersionSelectWidget(this);
- m_versionWidget->setResizeOn(2);
m_verticalLayout->addWidget(m_versionWidget);
m_horizontalLayout = new QHBoxLayout();
@@ -117,6 +116,7 @@ void JavaSettingsWidget::setupUi()
void JavaSettingsWidget::initialize()
{
m_versionWidget->initialize(MMC->javalist().get());
+ m_versionWidget->setResizeOn(2);
auto s = MMC->settings();
// Memory
observedMinMemory = s->get("MinMemAlloc").toInt();