Fixed drag and drop
This commit is contained in:
parent
feb7003b01
commit
8b1027b63e
3 changed files with 8 additions and 5 deletions
6
English.lproj/MainMenu.nib/info.nib
generated
6
English.lproj/MainMenu.nib/info.nib
generated
|
@ -3,7 +3,7 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IBDocumentLocation</key>
|
||||
<string>13 189 617 240 0 0 1024 746 </string>
|
||||
<string>19 350 617 240 0 0 1024 746 </string>
|
||||
<key>IBEditorPositions</key>
|
||||
<dict>
|
||||
<key>29</key>
|
||||
|
@ -28,11 +28,11 @@
|
|||
<integer>3</integer>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>463</integer>
|
||||
<integer>21</integer>
|
||||
<integer>823</integer>
|
||||
<integer>29</integer>
|
||||
<integer>513</integer>
|
||||
<integer>21</integer>
|
||||
<integer>463</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>8I127</string>
|
||||
|
|
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
BIN
English.lproj/MainMenu.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -110,11 +110,10 @@
|
|||
if (sort == YES)
|
||||
{
|
||||
sortedFiles = [files sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
|
||||
[files release];
|
||||
}
|
||||
else
|
||||
{
|
||||
sortedFiles = [files autorelease];
|
||||
sortedFiles = files;
|
||||
}
|
||||
|
||||
for (i = 0; i < [sortedFiles count]; i++)
|
||||
|
@ -147,6 +146,8 @@
|
|||
//Other thread will release entries....crazy crazy bad idea...whatever
|
||||
[NSThread detachNewThreadSelector:@selector(readMetaData:) toTarget:self withObject:entries];
|
||||
|
||||
[files release];
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -224,8 +225,10 @@
|
|||
row = 0;
|
||||
|
||||
NSArray *files = [[info draggingPasteboard] propertyListForType:NSFilenamesPboardType];
|
||||
NSLog(@"INSERTING PATHS");
|
||||
[self insertPaths:files atIndex:row sort:YES];
|
||||
|
||||
NSLog(@"UPDATING");
|
||||
[self updateIndexesFromRow:row];
|
||||
[self updateTotalTime];
|
||||
|
||||
|
|
Loading…
Reference in a new issue