diff --git a/src/BreCalClient/App.xaml b/src/BreCalClient/App.xaml index 9e781de..9b54893 100644 --- a/src/BreCalClient/App.xaml +++ b/src/BreCalClient/App.xaml @@ -11,8 +11,8 @@ - 8 - 8 + 10 + 10 diff --git a/src/BreCalClient/MainWindow.xaml.cs b/src/BreCalClient/MainWindow.xaml.cs index f6349c0..51c9f1b 100644 --- a/src/BreCalClient/MainWindow.xaml.cs +++ b/src/BreCalClient/MainWindow.xaml.cs @@ -290,7 +290,11 @@ namespace BreCalClient foreach(ParticipantType pType in esc.ShipcallModel.AssignedParticipants.Keys) scmOut.AssignedParticipants[pType] = esc.ShipcallModel.AssignedParticipants[pType]; } - NewWithModel(scmOut); + + this.Dispatcher.Invoke(() => + { + NewWithModel(scmOut); + }); } } }