Revision: 12575
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12575&view=rev
Author: amaxwell
Date: 2008-01-18 21:01:17 -0800 (Fri, 18 Jan 2008)
Log Message:
-----------
Make sure the main table gets updated when an edit adds or removes an item from
a smart group. Fixes bug reported by user.
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2008-01-19 02:21:22 UTC (rev 12574)
+++ trunk/bibdesk/BibDocument.m 2008-01-19 05:01:17 UTC (rev 12575)
@@ -2599,8 +2599,10 @@
[self updateFileView];
BOOL shouldUpdateGroups = [NSString isEmptyString:[self
currentGroupField]] == NO && (docState.itemChangeMask &
BDSKItemChangedGroupFieldMask) != 0;
- [self updateSmartGroupsCountAndContent:shouldUpdateGroups];
+ // allow updating a smart group if it's selected
+ [self updateSmartGroupsCountAndContent:YES];
+
if(shouldUpdateGroups){
// this handles all UI updates if we call it, so don't bother with any
others
[self updateCategoryGroupsPreservingSelection:YES];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit