KDB files now get saved without telling the user he looses data. Extended info display in save dialog

This commit is contained in:
michael starke
2017-09-26 17:29:27 +02:00
parent fb49a4ac23
commit 61826229c8
4 changed files with 11 additions and 14 deletions

View File

@@ -96,7 +96,7 @@
- (void)_updateNote {
NSString *uti = self.fileTypePopupButton.selectedItem.representedObject;
BOOL showInfoText = (self.document.tree.minimumVersion.format == KPKDatabaseFormatKdbx && [uti isEqualToString:MPKdbDocumentUTI]);
BOOL showInfoText = [uti isEqualToString:MPKdbDocumentUTI] && (self.document.tree.minimumVersion.format == KPKDatabaseFormatKdbx) && [self.document.fileType isEqualToString:MPKdbxDocumentUTI];
self.infoTextField.hidden = !showInfoText;
}