summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFNet/macsrc/SockDialog.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-08 16:50:14 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-08 16:50:14 +0000
commit0bc2020828acaab665608b9d274ec5200af018a0 (patch)
tree2ab1c2cb1fb0607f9f5187cb631b867130231830 /macosx/plugins/DFNet/macsrc/SockDialog.m
parentb3c099a3146fe08b1f19fbe99fe599d68eb44a72 (diff)
downloadpcsxr-0bc2020828acaab665608b9d274ec5200af018a0.tar.gz
OS X: DFNet improvements and fixes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91802 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFNet/macsrc/SockDialog.m')
-rwxr-xr-xmacosx/plugins/DFNet/macsrc/SockDialog.m9
1 files changed, 7 insertions, 2 deletions
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