Detecting changes task indication
This commit is contained in:
1 parent
acee2b1c6a
commit
4628cacc0b
6 files changed
+7
-1
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -51,13 +51,16 @@ namespace OpenSaveCloudClient
|
||||
}
|
||||
else
|
||||
{
|
||||
string taskUuid = StartTask("Detecting changes...", true, 1);
|
||||
try
|
||||
{
|
||||
saveManager.DetectChanges();
|
||||
SetTaskEnded(taskUuid);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logManager.AddError(e);
|
||||
SetTaskFailed(taskUuid);
|
||||
}
|
||||
this.Invoke((MethodInvoker)delegate {
|
||||
SetAdminControls();
|
||||
@@ -122,13 +125,16 @@ namespace OpenSaveCloudClient
|
||||
{
|
||||
new Thread(() =>
|
||||
{
|
||||
string taskUuid = StartTask("Detecting changes...", true, 1);
|
||||
try
|
||||
{
|
||||
saveManager.DetectChanges();
|
||||
SetTaskEnded(taskUuid);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception e)
|
||||
{
|
||||
logManager.AddError(e);
|
||||
SetTaskFailed(taskUuid);
|
||||
}
|
||||
}).Start();
|
||||
SetAdminControls();
|
||||
|
||||
Reference in new issue
Block a user