Encryption rounds are now stored when settings are saved (fixes #228)

This commit is contained in:
michael starke
2014-08-26 12:00:53 +02:00
parent 6780999d14
commit 9e2345bcd7
2 changed files with 2 additions and 1 deletions

View File

@@ -153,6 +153,8 @@ void _MPSetState(id stateItem, BOOL isOn) {
[defaults setBool:protectUsername forKey:kMPSettingsKeyLegacyHideUsername];
[defaults synchronize];
*/
metaData.rounds = MAX(0,[self.encryptionRoundsTextField integerValue]);
[self close:nil];
}

View File

@@ -10,7 +10,6 @@
APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
@class MPOutlineViewDelegate;
@class HNHGradientView;
@class MPDocument;