Skip to content

Commit

Permalink
Commit any open editing session in the popup before saving
Browse files Browse the repository at this point in the history
  • Loading branch information
mstarke committed May 24, 2022
1 parent 360eb23 commit 57433b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MacPass/MPTOTPSetupViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ - (IBAction)cancel:(id)sender {
- (IBAction)save:(id)sender {
// Update entry settings!
// FIXME: add model observing to ensure correct history recording
[self.view.window makeFirstResponder:nil];
[self.generator saveToEntry:self.representedEntry];
[self.presentingViewController dismissViewController:self];
}
Expand Down

0 comments on commit 57433b8

Please sign in to comment.