Fixed issue that resulted in password change button being disabled for empty password/keys after canceling the lossy save warning dialog

This commit is contained in:
michael starke
2013-09-04 23:55:56 +02:00
parent 2e5f03b515
commit add5074daa
3 changed files with 14 additions and 13 deletions

View File

@@ -413,6 +413,7 @@ typedef NS_ENUM(NSUInteger, MPAlertContext) {
if(changedPasswordOrKey && _saveAfterPasswordChange) {
[self saveDocument:nil];
}
_saveAfterPasswordChange = NO;
}
#pragma mark Alert Delegate