We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11923ee commit 8a367f9Copy full SHA for 8a367f9
1 file changed
MainForm.cs
@@ -473,7 +473,9 @@ private void OverwriteMacro()
473
474
try
475
{
476
- suppressWatcherEvents = true; // ← イベント抑止
+ suppressWatcherEvents = true;
477
+ pendingSelectMacroName = editingMacroName; // 上書き保存後に優先選択するマクロ名を設定
478
+
479
File.WriteAllText(path, MacroEditTextBox.Text, Encoding.UTF8);
480
lastLoadedMacroText = MacroEditTextBox.Text;
481
loadedMacro = MacroPlayer.MacroFrame.LoadMacroFile(path);
@@ -489,9 +491,6 @@ private void OverwriteMacro()
489
491
490
492
suppressWatcherEvents = false; // ← 必ず解除
493
}
-
- // 追加: 上書き保存後に優先選択するマクロ名を設定
494
- pendingSelectMacroName = editingMacroName;
495
496
497
0 commit comments