Added a setting to prevent the last source from being saved upon valid checks for in-browser display purposes (avoids RAM waste).

This commit is contained in:
ruri
2019-04-22 11:43:02 +02:00
parent 29180b0165
commit 3e60801f77
3 changed files with 9 additions and 4 deletions
@@ -43,6 +43,10 @@ namespace RuriLib.ViewModels
/// <summary>Whether to keep the LogBuffer from BotData stored for future use (slows down the Runner).</summary>
public bool EnableBotLog { get { return _enableBotLog; } set { _enableBotLog = value; OnPropertyChanged(); } }
private bool saveLastSource = false;
/// <summary>Whether to store the last Response Source after a successful check.</summary>
public bool SaveLastSource { get { return saveLastSource; } set { saveLastSource = value; OnPropertyChanged(); } }
/// <summary>
/// Resets the properties to their default value.
/// </summary>