Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev-app'
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuotvez committed Jun 2, 2023
2 parents f0938ad + 992830a commit d1a81d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GSCFieldApp/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=Geological Survey of Canada, O=Natural Resources Canada, C=CA" Version="2.3.12.0" />
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=Geological Survey of Canada, O=Natural Resources Canada, C=CA" Version="2.3.13.0" />
<mp:PhoneIdentity PhoneProductId="06e90cbe-1a34-4205-8fe6-3ce0ad4467db" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>Geological Survey Canada Field Application</DisplayName>
Expand Down
2 changes: 1 addition & 1 deletion GSCFieldApp/Views/DocumentDialog.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public DocumentDialog(FieldNotes inDetailViewModel, FieldNotes stationSummaryID,

private void DocumentSaveButton_GotFocus(object sender, RoutedEventArgs e)
{
//this.documentSaveButton.GotFocus -= DocumentSaveButton_GotFocus;
this.documentSaveButton.GotFocus -= DocumentSaveButton_GotFocus;

//Will save and close control only if a save can be performed.
bool didSave = DocViewModel.SaveDialogInfoAsync();
Expand Down
1 change: 1 addition & 0 deletions GSCFieldApp/Views/EnvironmentDialog.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public EnvironmentDialog(FieldNotes inParentReport)

private void EnvSaveButton_GotFocus(object sender, RoutedEventArgs e)
{
this.envSaveButton.GotFocus -= EnvSaveButton_GotFocus;
EnvViewModel.SaveDialogInfo();
CloseControl();
}
Expand Down
1 change: 1 addition & 0 deletions GSCFieldApp/Views/SampleDialog.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public SampleDialog(FieldNotes inDetailViewModel, bool isQuickSample)

private void SampleSaveButton_GotFocus(object sender, RoutedEventArgs e)
{
this.sampleSaveButton.GotFocus -= SampleSaveButton_GotFocus;
ViewModel.SaveDialogInfo();
CloseControl();
}
Expand Down

0 comments on commit d1a81d7

Please sign in to comment.