fixed authentication dialog not opening during OAuth process [3578480]

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2169 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
JKlingen 2012-10-20 08:27:51 +00:00
parent dd003e1e26
commit c69017d827

View file

@ -295,6 +295,7 @@ namespace GreenshotPlugin.Core {
Verifier = null;
LOG.DebugFormat("Opening AuthorizationLink: {0}", authorizationLink);
OAuthLoginForm oAuthLoginForm = new OAuthLoginForm(LoginTitle, BrowserSize, authorizationLink, CallbackUrl);
oAuthLoginForm.ShowDialog();
if (oAuthLoginForm.isOk) {
if (oAuthLoginForm.CallbackParameters != null) {
if (oAuthLoginForm.CallbackParameters.ContainsKey(OAUTH_TOKEN_KEY)) {