Fixed cross-thread access error.
This commit is contained in:
parent
81c152ddcb
commit
138f94594f
@ -263,7 +263,7 @@ namespace LibationWinForms
|
||||
.ToArray();
|
||||
|
||||
// in autoScan, new books SHALL NOT show dialog
|
||||
await LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.ApiExtendedFunc, accounts);
|
||||
await Invoke(async () => await LibraryCommands.ImportAccountAsync(Login.WinformLoginChoiceEager.ApiExtendedFunc, accounts));
|
||||
};
|
||||
|
||||
// load init state to menu checkbox
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user