Skip to content

Commit

Permalink
#345 fixed duplicate fb, had to remove event trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel.huot-vezina committed Jun 21, 2024
1 parent 4d91395 commit ee83737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GSCFieldApp/ViewModels/FieldBooksPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit ee83737

Please sign in to comment.