Revision: 29892
http://sourceforge.net/p/bibdesk/svn/29892
Author: hofman
Date: 2025-11-28 16:36:00 +0000 (Fri, 28 Nov 2025)
Log Message:
-----------
implement discardEditing, add a comment
Modified Paths:
--------------
trunk/bibdesk/BDSKFilterController.m
Modified: trunk/bibdesk/BDSKFilterController.m
===================================================================
--- trunk/bibdesk/BDSKFilterController.m 2025-11-27 22:39:39 UTC (rev
29891)
+++ trunk/bibdesk/BDSKFilterController.m 2025-11-28 16:36:00 UTC (rev
29892)
@@ -265,11 +265,16 @@
#pragma mark NSEditor
- (BOOL)commitEditing {
+ // don't use commitEditing on the conditionControllers, as that does not
fail when it should
if ([[[self window] firstResponder] isKindOfClass:[NSTextView class]] ==
NO)
return YES;
return [[self window] makeFirstResponder:nil];
}
+- (void)discardEditing {
+ [conditionControllers makeObjectsPerformSelector:_cmd];
+}
+
#pragma mark Undo support
- (NSUndoManager *)undoManager{
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