Incoke error popup on UI thread.
This commit is contained in:
parent
701f6f0b1c
commit
18f3e3bb89
1 changed files with 2 additions and 1 deletions
|
|
@ -318,7 +318,8 @@ namespace Observatory
|
|||
}
|
||||
}
|
||||
|
||||
ErrorReporter.ShowErrorPopup($"Journal Read Error{(readErrors.Count > 1 ? "s" : "")}", errorContent.ToString());
|
||||
Avalonia.Threading.Dispatcher.UIThread.InvokeAsync(() => ErrorReporter.ShowErrorPopup($"Journal Read Error{(readErrors.Count > 1 ? "s" : "")}", errorContent.ToString()));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue