Correctly show max memory notice for max < min
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user