svnno****@sourc*****
svnno****@sourc*****
2011年 9月 27日 (火) 09:39:25 JST
Revision: 1602 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1602 Author: syo68k Date: 2011-09-27 09:39:25 +0900 (Tue, 27 Sep 2011) Log Message: ----------- アカウント認証しても設定ダイアログを閉じられないバグを修正 未修正:初期化処理中にSetting_FormClosingイベントが発生するとtw.ClearAuthInfo()にてNullReferenceException Modified Paths: -------------- trunk/Tween/AppendSettingDialog.vb -------------- next part -------------- Modified: trunk/Tween/AppendSettingDialog.vb =================================================================== --- trunk/Tween/AppendSettingDialog.vb 2011-09-26 09:12:14 UTC (rev 1601) +++ trunk/Tween/AppendSettingDialog.vb 2011-09-27 00:39:25 UTC (rev 1602) @@ -498,7 +498,7 @@ Next Dim userSet As Boolean = False For Each u In Me.UserAccounts - If u.UserId = Me.InitialUserId Then + If InitialUserId = 0 OrElse u.UserId = InitialUserId Then tw.Initialize(u.Token, u.TokenSecret, u.Username, u.UserId) Google.GASender.GetInstance.SessionFirst = u.GAFirst Google.GASender.GetInstance.SessionLast = u.GALast