diff --git a/GSCFieldApp/ViewModels/FieldBooksPageViewModel.cs b/GSCFieldApp/ViewModels/FieldBooksPageViewModel.cs index 60c693fb..57256ff6 100644 --- a/GSCFieldApp/ViewModels/FieldBooksPageViewModel.cs +++ b/GSCFieldApp/ViewModels/FieldBooksPageViewModel.cs @@ -664,6 +664,7 @@ public void ProjectEditButton_Tapped(object sender, Windows.UI.Xaml.Input.Tapped var modal = Window.Current.Content as ModalDialog; var view = modal.ModalContent as Views.FieldBookDialog; modal.ModalContent = view = new Views.FieldBookDialog(selectedProject); + view.ViewModel.projectEdit -= ViewModel_projectEdit; view.ViewModel.projectEdit += ViewModel_projectEdit; modal.IsModal = true; });