Skip to content

Commit

Permalink
Tried a little change to fix multiple video type selection alerts pro…
Browse files Browse the repository at this point in the history
…blem
  • Loading branch information
griff committed May 12, 2010
1 parent 96c6965 commit cdba7c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion App/src/MZMetaLoader.m
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,13 @@ - (void)dataProvider:(id<MZDataProvider>)provider
{
edits = theEdits;
error = theError;

// loadedFile: runs a modeal alert so we use NSEventTrackingRunLoopMode
// to avoid showing more than one alert at a time
[[MZMetaLoader sharedLoader] performSelectorOnMainThread:@selector(loadedFile:)
withObject:self
waitUntilDone:YES
modes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];
modes:[NSArray arrayWithObject:NSEventTrackingRunLoopMode]];
}

@end
Expand Down

0 comments on commit cdba7c8

Please sign in to comment.