diff --git a/App/src/MZMetaLoader.m b/App/src/MZMetaLoader.m index d1d10037..fa09f73b 100644 --- a/App/src/MZMetaLoader.m +++ b/App/src/MZMetaLoader.m @@ -473,10 +473,13 @@ - (void)dataProvider:(id)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