private static void EditorStatusChanged(AsyncApiEdit sender)
{
if (AWBForm.TheSession.Editor.IsActive)
{
if (ActivePlugins.Any())
_pluginSettings.AWBProcessingStart(sender);
}
else
{
DefaultStatusText();
// If AWB has stopped and the list is empty we assume the job is finished, so close the log and upload:
if (!AWBForm.ListMaker.Any())
{
AWBForm.TraceManager.Close();
}
}
}