Correctly show max memory notice for max < min
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
a8ea072d36
commit
491b5e1473
2 changed files with 25 additions and 0 deletions
|
@ -299,6 +299,7 @@ void JavaSettingsWidget::updateThresholds()
|
|||
m_ui->labelMaxMemNotice->show();
|
||||
} else if (maxMem < minMem) {
|
||||
m_ui->labelMaxMemNotice->setText(warningColour.arg(tr("Your maximum memory allocation is below the minimum memory allocation.")));
|
||||
m_ui->labelMaxMemNotice->show();
|
||||
} else {
|
||||
m_ui->labelMaxMemNotice->hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue