Fix "CUSTOM" quality preset when Iris is present

This commit is contained in:
James Seibel
2025-09-16 07:44:18 -05:00
parent df17c1cc1b
commit 57bbb12b39
2 changed files with 4 additions and 1 deletions
@@ -42,6 +42,7 @@ public interface IConfigEntry<T>
void set(T newValue);
T get();
/** gets the option ignoring what the API has overridden */
T getTrueValue();
/** Sets the value without saving */
@@ -48,7 +48,9 @@ public class ConfigEntryWithPresetOptions<TQuickEnum, TConfig>
public HashSet<TQuickEnum> getPossibleQualitiesFromCurrentOptionValue()
{
TConfig inputOptionValue = this.configEntry.get();
// get true value so we can ignore API overrides,
// users find this confusing if their preset is set to "CUSTOM"
TConfig inputOptionValue = this.configEntry.getTrueValue();
HashSet<TQuickEnum> possibleQualities = new HashSet<>();
for (TQuickEnum key : this.configOptionByQualityOption.keySet())