[UI] Grey out AA and Aniso settings under strict rendering (#7773)

* Grey out AA and aniso under strict rendering

* Сhange aniso UI string to 'Auto'

Co-authored-by: Ivan <Nekotekina@users.noreply.github.com>
This commit is contained in:
Rose 2020-03-14 17:45:41 +00:00 committed by GitHub
parent 45389dca51
commit 231e837f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -391,7 +391,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
switch (int val = ui->anisotropicFilterOverride->itemData(i).toInt())
{
case 0:
ui->anisotropicFilterOverride->setItemText(i, tr("Automatic"));
ui->anisotropicFilterOverride->setItemText(i, tr("Auto"));
break;
case 2:
case 4:
@ -435,6 +435,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
{
ui->gb_resolutionScale->setEnabled(!checked);
ui->gb_minimumScalableDimension->setEnabled(!checked);
ui->gb_anisotropicFilter->setEnabled(!checked);
});
// Sliders