mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix auto java install
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
8d3e6667cd
commit
2fb3e12492
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ void LaunchProfile::applyCompatibleJavaMajors(QList<int>& javaMajor)
|
|||
}
|
||||
void LaunchProfile::applyCompatibleJavaName(QString javaName)
|
||||
{
|
||||
m_compatibleJavaName = javaName;
|
||||
if (!javaName.isEmpty())
|
||||
m_compatibleJavaName = javaName;
|
||||
}
|
||||
|
||||
void LaunchProfile::applyLibrary(LibraryPtr library, const RuntimeContext& runtimeContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue