Fixed initial bot status.

This commit is contained in:
ruri
2019-05-10 13:31:29 +02:00
parent d4ba3ec187
commit 51c0a841e1
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ namespace RuriLib.Runner
/// <summary>The proxy that the Worker is using to perform requests.</summary>
public string Proxy { get { return proxy; } set { proxy = value; OnPropertyChanged(); } }
private string status = "Initializing...";
private string status = "";
/// <summary>The status of the bot.</summary>
public string Status { get { return status; } set { status = value; OnPropertyChanged(); } }
+1
View File
@@ -582,6 +582,7 @@ namespace RuriLib.Runner
// Get a reference to the Worker that is executing the job and the corresponding Bot
var senderABW = (AbortableBackgroundWorker)sender;
var bot = Bots.First(b => b.Id == (senderABW.Id));
bot.Status = "INITIALIZING...";
// The data line that needs to be processed
var data = (string)e.Argument;