Skip to content

Commit 08f4450

Browse files
Correct AMSProgressBar sheet presentation oversight!
Co-authored-by: Allen Smith <allen.monroe.smith@gmail.com>
1 parent 27ff092 commit 08f4450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/AMSProgressBar/AMSProgressPanel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ - (void) showAsSheetForWindow:(NSWindow *)parentWindow
328328
self.startTime = [NSDate date]; //right now
329329
runningAsSheet = YES;
330330

331-
[[NSApp mainWindow] beginSheet:dialogWindow completionHandler:nil];
331+
[parentWindow beginSheet:dialogWindow completionHandler:nil];
332332
}
333333

334334

0 commit comments

Comments
 (0)