Revision: 27421
http://sourceforge.net/p/bibdesk/svn/27421
Author: hofman
Date: 2022-05-15 14:28:36 +0000 (Sun, 15 May 2022)
Log Message:
-----------
make absolutely sure editor is unregistered as editor
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2022-05-15 06:30:19 UTC (rev 27420)
+++ trunk/bibdesk/BDSKEditor.m 2022-05-15 14:28:36 UTC (rev 27421)
@@ -2988,8 +2988,7 @@
if ([[[self window] firstResponder] isKindOfClass:[NSText class]] &&
NO == [[self window] makeFirstResponder:[self window]])
[self discardEditing];
- else
- [self setEditing:NO];
+ [self setEditing:NO];
// see method for notes
[self breakTextStorageConnections];
@@ -3026,8 +3025,7 @@
if ([[[self window] firstResponder] isKindOfClass:[NSText class]] &&
NO == [[self window] makeFirstResponder:[self window]])
[self discardEditing];
- else
- [self setEditing:NO];
+ [self setEditing:NO];
}
[super setDocument:document];
}
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