There was an error while loading. Please reload this page.
1 parent 27ff092 commit 08f4450Copy full SHA for 08f4450
trunk/AMSProgressBar/AMSProgressPanel.m
@@ -328,7 +328,7 @@ - (void) showAsSheetForWindow:(NSWindow *)parentWindow
328
self.startTime = [NSDate date]; //right now
329
runningAsSheet = YES;
330
331
-[[NSApp mainWindow] beginSheet:dialogWindow completionHandler:nil];
+[parentWindow beginSheet:dialogWindow completionHandler:nil];
332
}
333
334
0 commit comments