Fixed cross-thread access error.
This commit is contained in:
parent
81c152ddcb
commit
138f94594f
1 changed files with 2 additions and 2 deletions
|
|
@ -262,8 +262,8 @@ namespace LibationWinForms
|
|||
.Where(a => a.LibraryScan)
|
||||
.ToArray();
|
||||
|
||||
// in autoScan, new books SHALL NOT show dialog
|
||||
await LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.ApiExtendedFunc, accounts);
|
||||
// in autoScan, new books SHALL NOT show dialog
|
||||
await Invoke(async () => await LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.ApiExtendedFunc, accounts));
|
||||
};
|
||||
|
||||
// load init state to menu checkbox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue