mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 01:29:26 +00:00
Re-enabled password request before saving a database that has no password and key
Stripped logging code Fixed issue with save panel not being updated correctly when panel is just reshown
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
}
|
||||
[self.fileTypePopupButton setMenu:menu];
|
||||
[self.infoTextField setHidden:YES];
|
||||
[self _updateView];
|
||||
[self updateView];
|
||||
}
|
||||
|
||||
- (IBAction)setFileType:(id)sender {
|
||||
@@ -59,11 +59,11 @@
|
||||
- (void)setDocument:(MPDocument *)document {
|
||||
if(_document != document) {
|
||||
_document = document;
|
||||
[self _updateView];
|
||||
[self updateView];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)_updateView {
|
||||
- (void)updateView {
|
||||
switch(self.document.versionForFileType) {
|
||||
case KPKLegacyVersion:
|
||||
[self.fileTypePopupButton selectItemAtIndex:1];
|
||||
|
||||
Reference in New Issue
Block a user