From fa8f19b0460234223f6af9c73d6d49727c838703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 29 Mar 2018 20:41:16 +0200 Subject: [PATCH] GH-2211 fix crash in first launch wizard --- application/widgets/JavaSettingsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();