mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Fix non-working link arrows in bundle item chooser
Since we released sender (via aliased pointer) before querying it, we would fail to obtain the item clicked.
This commit is contained in:
@@ -469,10 +469,10 @@ BOOL HasDocumentWindow (NSArray* windows)
|
||||
ASSERT([sender respondsToSelector:@selector(selectedItems)]);
|
||||
ASSERT([[sender selectedItems] count] == 1);
|
||||
|
||||
self.filterWindowController = nil;
|
||||
|
||||
if(NSString* uuid = [[[sender selectedItems] lastObject] objectForKey:@"uuid"])
|
||||
[[BundleEditor sharedInstance] revealBundleItem:bundles::lookup(to_s(uuid))];
|
||||
|
||||
self.filterWindowController = nil;
|
||||
}
|
||||
|
||||
- (void)editBundleItemWithUUIDString:(NSString*)uuidString
|
||||
|
||||
Reference in New Issue
Block a user