Weighing: Use App.MainDispatcher.BeginInvoke in DeliveryAdminWindow
This commit is contained in:
@ -1004,7 +1004,7 @@ namespace Elwig.Windows {
|
||||
|
||||
private void Scale_Weighing(object sender, WeighingEventArgs evt) {
|
||||
if (sender is not IScale scale) return;
|
||||
OnWeighingResult(scale, evt.Result);
|
||||
App.MainDispatcher.BeginInvoke(() => OnWeighingResult(scale, evt.Result));
|
||||
}
|
||||
|
||||
private async void SearchInput_TextChanged(object sender, RoutedEventArgs evt) {
|
||||
|
Reference in New Issue
Block a user