From 0bc2020828acaab665608b9d274ec5200af018a0 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 8 Oct 2014 16:50:14 +0000 Subject: OS X: DFNet improvements and fixes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91802 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFNet/macsrc/SockDialog.m | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFNet/macsrc/SockDialog.m') diff --git a/macosx/plugins/DFNet/macsrc/SockDialog.m b/macosx/plugins/DFNet/macsrc/SockDialog.m index 2795e17f..cbef65b5 100755 --- a/macosx/plugins/DFNet/macsrc/SockDialog.m +++ b/macosx/plugins/DFNet/macsrc/SockDialog.m @@ -22,8 +22,7 @@ void SysMessage(const char *fmt, ...) NSAlert *alert = [NSAlert alertWithMessageText:@"Error" defaultButton:@"Stop" alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", errString]; [alert setAlertStyle:NSCriticalAlertStyle]; NSInteger result = [alert runModal]; - if (result == NSAlertDefaultReturn) - { + if (result == NSAlertDefaultReturn) { Class theEmuClass = NSClassFromString(@"EmuThread"); if (theEmuClass) { [theEmuClass stop]; @@ -81,6 +80,7 @@ void sockDestroyWaitDlg() } @implementation SockDialog +@synthesize spinningBar; - (IBAction)cancel:(id)sender { WaitCancel = 1; @@ -91,4 +91,9 @@ void sockDestroyWaitDlg() return self = [self initWithWindowNibName:@"SockDialog"]; } +- (void)awakeFromNib +{ + [spinningBar startAnimation:nil]; +} + @end -- cgit v1.2.3