mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
GH-2219 fix crash and bad view scaling in Java VersionSelectDialog
This commit is contained in:
parent
c9832d0d86
commit
3406335cd8
3 changed files with 7 additions and 2 deletions
|
|
@ -104,6 +104,7 @@ void JavaPage::on_javaDetectBtn_clicked()
|
|||
JavaInstallPtr java;
|
||||
|
||||
VersionSelectDialog vselect(MMC->javalist().get(), tr("Select a Java version"), this, true);
|
||||
vselect.setResizeOn(2);
|
||||
vselect.exec();
|
||||
|
||||
if (vselect.result() == QDialog::Accepted && vselect.selectedVersion())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue