aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-04 23:17:51 +0000
committerrowanbeentje <rowan@beent.je>2010-04-04 23:17:51 +0000
commit9c27e9746f369d1becf529e7c8cbb5d52469faa3 (patch)
treeb47d7f4ebc14629a027dd65419280583a08ce879 /Source
parent7a19eb3b7726df13e8423e7a485becf3b6ba3b9d (diff)
downloadsequelpro-9c27e9746f369d1becf529e7c8cbb5d52469faa3.tar.gz
sequelpro-9c27e9746f369d1becf529e7c8cbb5d52469faa3.tar.bz2
sequelpro-9c27e9746f369d1becf529e7c8cbb5d52469faa3.zip
- Improve on r2050, running reconnections after a proxy disconnect on a new thread to allow the UI to update and handle events on 10.6. Also clean up the logic in MCPConnection waiting for a proxy discoonect to handle more cases and simplify code.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPSSHTunnel.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 207dc300..968572c9 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -510,6 +510,7 @@
//show the question window
[NSApp beginSheet:sshQuestionDialog modalForWindow:parentWindow modalDelegate:self didEndSelector:nil contextInfo:nil];
+ [parentWindow makeKeyAndOrderFront:self];
}
/*
* Ends an existing modal session
@@ -575,6 +576,7 @@
windowFrameRect.size.height = ((queryTextSize.height < 40)?40:queryTextSize.height) + 140 + ([sshPasswordDialog isSheet]?0:22);
[sshPasswordDialog setFrame:windowFrameRect display:NO];
[NSApp beginSheet:sshPasswordDialog modalForWindow:parentWindow modalDelegate:self didEndSelector:nil contextInfo:nil];
+ [parentWindow makeKeyAndOrderFront:self];
}
/*