Revision: 30002
http://sourceforge.net/p/bibdesk/svn/30002
Author: hofman
Date: 2026-02-16 15:46:41 +0000 (Mon, 16 Feb 2026)
Log Message:
-----------
reply for closing when failing to end papers folder editing
Modified Paths:
--------------
trunk/bibdesk/BibPref_AutoFile.m
Modified: trunk/bibdesk/BibPref_AutoFile.m
===================================================================
--- trunk/bibdesk/BibPref_AutoFile.m 2026-02-16 15:44:07 UTC (rev 30001)
+++ trunk/bibdesk/BibPref_AutoFile.m 2026-02-16 15:46:41 UTC (rev 30002)
@@ -269,12 +269,17 @@
- (void)shouldHideWithReply:(void (^)(BOOL))reply {
NSWindow *window = [[self view] window];
BOOL editingFormat = [formatField currentEditor] != nil;
+
if ([[window firstResponder] isKindOfClass:[NSText class]] && [(NSView
*)[window firstResponder] isDescendantOf:[self view]] && NO == [window
makeFirstResponder:nil]) {
reply(YES);
- } else if (editingFormat) {
+ } else if (editingFormat == NO) {
+ reply(NO);
+
+ } else {
+
NSString *formatString = [sud stringForKey:BDSKLocalFileFormatKey];
BOOL currentIsValid = [BDSKFormatParser validateFormat:&formatString
forField:BDSKLocalFileString error:NULL];
@@ -302,6 +307,7 @@
reply(NO);
}
}];
+
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit