Fixed: mis-threading
This commit is contained in:
parent
d0471a03a8
commit
17e4e867eb
17
MainForm.cs
17
MainForm.cs
@ -678,7 +678,6 @@ namespace bzit.bomg
|
||||
|
||||
loadFileType = LoadFileType.Jsnx;
|
||||
|
||||
loadFileThread.RunWorkerAsync();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -690,8 +689,6 @@ namespace bzit.bomg
|
||||
usePassword = false;
|
||||
|
||||
loadFileType = LoadFileType.Jsnx;
|
||||
|
||||
loadFileThread.RunWorkerAsync();
|
||||
}
|
||||
|
||||
break;
|
||||
@ -717,7 +714,6 @@ namespace bzit.bomg
|
||||
|
||||
loadFileType = LoadFileType.Ryz;
|
||||
|
||||
loadFileThread.RunWorkerAsync();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -729,14 +725,23 @@ namespace bzit.bomg
|
||||
usePassword = false;
|
||||
|
||||
loadFileType = LoadFileType.Ryz;
|
||||
|
||||
loadFileThread.RunWorkerAsync();
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
sessionFilename = sessionPassword = null;
|
||||
usePassword = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(sessionFilename))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
this.IsBusy = true;
|
||||
|
||||
loadFileThread.RunWorkerAsync();
|
||||
}
|
||||
|
||||
protected void loadBookmarkFile_ForJSNX(string filename, string password = "")
|
||||
|
Reference in New Issue
Block a user