Added checkbox to disable autosave

This commit is contained in:
Michael Starke
2019-03-25 08:52:37 +01:00
parent 7ba9ec2685
commit 6d046bc933
5 changed files with 51 additions and 21 deletions

View File

@@ -116,7 +116,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
}
+ (BOOL)autosavesInPlace {
return YES;
return [NSUserDefaults.standardUserDefaults boolForKey:kMPSettingsKeyEnableAutosave];
}
- (instancetype)init {