Skip to content

Commit

Permalink
Retained edits and errors in MZLoadOperation fixing #26
Browse files Browse the repository at this point in the history
  • Loading branch information
griff committed Nov 2, 2012
1 parent 1b67bb6 commit 0526da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/src/MZMetaLoader.m
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ - (void)dataProvider:(id<MZDataProvider>)provider
fromFile:(NSString *)fileName
error:(NSError *)theError
{
edits = theEdits;
error = theError;
edits = [theEdits retain];
error = [theError retain];

// loadedFile: runs a modeal alert so we use NSEventTrackingRunLoopMode
// to avoid showing more than one alert at a time
Expand Down

0 comments on commit 0526da7

Please sign in to comment.