Revision: 30007
          http://sourceforge.net/p/bibdesk/svn/30007
Author:   hofman
Date:     2026-02-16 16:59:40 +0000 (Mon, 16 Feb 2026)
Log Message:
-----------
no need for variable

Modified Paths:
--------------
    trunk/bibdesk/BibPref_AutoFile.m

Modified: trunk/bibdesk/BibPref_AutoFile.m
===================================================================
--- trunk/bibdesk/BibPref_AutoFile.m    2026-02-16 16:54:17 UTC (rev 30006)
+++ trunk/bibdesk/BibPref_AutoFile.m    2026-02-16 16:59:40 UTC (rev 30007)
@@ -268,13 +268,12 @@
 
 - (void)shouldHideWithReply:(void (^)(BOOL))reply {
     NSWindow *window = [[self view] window];
-    BOOL editingFormat = [formatField currentEditor] != nil;
     
     if ([[window firstResponder] isKindOfClass:[NSText class]] == NO || 
[(NSView *)[window firstResponder] isDescendantOf:[self view]] == NO || [window 
makeFirstResponder:nil]) {
         
         reply(YES);
         
-    } else if (editingFormat == NO) {
+    } else if ([formatField currentEditor] == nil) {
         
         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

Reply via email to