Revision: 30025
          http://sourceforge.net/p/bibdesk/svn/30025
Author:   hofman
Date:     2026-02-20 15:43:28 +0000 (Fri, 20 Feb 2026)
Log Message:
-----------
end editing by resetting first responder when closing window

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2026-02-20 15:37:50 UTC (rev 30024)
+++ trunk/bibdesk/BDSKEditor.m  2026-02-20 15:43:28 UTC (rev 30025)
@@ -2894,7 +2894,7 @@
         if (didEndEditing == NO)
             [self discardEditing];
     }
-    if ([[[self window] firstResponder] isKindOfClass:[NSText class]] && 
[(NSText *)[[self window] firstResponder] isFieldEditor]) {
+    if ([[[self window] firstResponder] isKindOfClass:[NSText class]] && NO == 
[[self window] makeFirstResponder:[self window]]) {
         [[self window] endEditingFor:nil];
         [self setEditing: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