clear filters on searchbar enter
This commit is contained in:
10
Settings.cs
10
Settings.cs
@@ -117,6 +117,7 @@ internal class Settings
|
||||
public static ConfigEntry<bool> EnableSlotSearch { get; set; }
|
||||
public static ConfigEntry<bool> ShowRequiredQuest { get; set; }
|
||||
public static ConfigEntry<bool> AutoExpandCategories { get; set; }
|
||||
public static ConfigEntry<bool> ClearFiltersOnSearch { get; set; }
|
||||
public static ConfigEntry<bool> KeepAddOfferOpen { get; set; }
|
||||
public static ConfigEntry<KeyboardShortcut> PurchaseAllKeybind { get; set; }
|
||||
public static ConfigEntry<bool> KeepAddOfferOpenIgnoreMaxOffers { get; set; } // Advanced
|
||||
@@ -663,6 +664,15 @@ internal class Settings
|
||||
null,
|
||||
new ConfigurationManagerAttributes { })));
|
||||
|
||||
configEntries.Add(ClearFiltersOnSearch = config.Bind(
|
||||
FleaMarketSection,
|
||||
"Clear Filters on Search",
|
||||
true,
|
||||
new ConfigDescription(
|
||||
"Pressing Enter after typing in the flea search bar will clear non-default filters",
|
||||
null,
|
||||
new ConfigurationManagerAttributes { })));
|
||||
|
||||
configEntries.Add(ShowRequiredQuest = config.Bind(
|
||||
FleaMarketSection,
|
||||
"Show Required Quest for Locked Offers",
|
||||
|
||||
Reference in New Issue
Block a user