OSDN Git Service

初回起動時にHashStripSplitButtonのドロップダウンメニューを展開する処理をShownイベントに移動
authorKimura Youichi <kim.upsilon@bucyou.net>
Mon, 4 Dec 2023 11:18:10 +0000 (20:18 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Wed, 6 Dec 2023 16:53:15 +0000 (01:53 +0900)
OpenTween/Tween.cs

index 8a40aba..08ff6a0 100644 (file)
@@ -554,12 +554,6 @@ namespace OpenTween
 
             this.ignoreConfigSave = false;
             this.TweenMain_Resize(this, EventArgs.Empty);
-
-            if (this.settings.IsFirstRun)
-            {
-                // 初回起動時だけ右下のメニューを目立たせる
-                this.HashStripSplitButton.ShowDropDown();
-            }
         }
 
         private void TweenMain_Activated(object sender, EventArgs e)
@@ -7954,6 +7948,12 @@ namespace OpenTween
             this.NotifyIcon1.Visible = true;
             this.StartTimers();
 
+            if (this.settings.IsFirstRun)
+            {
+                // 初回起動時だけ右下のメニューを目立たせる
+                this.HashStripSplitButton.ShowDropDown();
+            }
+
             if (this.IsNetworkAvailable())
             {
                 var loadTasks = new TaskCollection();