adium 5562:4044634d3b95: Remove the reselection of contacts in t...
commits at adium.im
commits at adium.im
Thu Jun 13 01:54:31 UTC 2013
details: http://hg.adium.im/adium/rev/4044634d3b95
revision: 5562:4044634d3b95
branch: adium-1.5.7
author: Frank Dowsett <wixardy at adium.im>
date: Wed Jun 12 21:53:57 2013 -0400
Remove the reselection of contacts in the contact list on reloadData; it doesn't work anymore and probably causes #16119.
Refs #16119
diffs (21 lines):
diff -r 7ab2429364ca -r 4044634d3b95 Frameworks/AIUtilities Framework/Source/AIOutlineView.m
--- a/Frameworks/AIUtilities Framework/Source/AIOutlineView.m Wed Jun 12 13:17:56 2013 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AIOutlineView.m Wed Jun 12 21:53:57 2013 -0400
@@ -259,17 +259,6 @@
if (needsReload) [self reloadData];
}
-//Preserve selection through a reload
-- (void)reloadItem:(id)item reloadChildren:(BOOL)reloadChildren
-{
- NSArray *selectedItems = [self arrayOfSelectedItems];
-
- [super reloadItem:item reloadChildren:reloadChildren];
-
- //Restore (if possible) the previously selected object
- [self selectItemsInArray:selectedItems];
-}
-
#pragma mark Dragging
//Draging ------------------------------------------
//Invoked in the dragging source as the drag ends
More information about the commits
mailing list