From 3f341c7e21939718952fc9c161ce3ae2e22b60d0 Mon Sep 17 00:00:00 2001 From: jeffman Date: Tue, 8 Jan 2019 20:51:40 -0500 Subject: [PATCH] Timer is disabled by default Fixes an issue where it would try to write while a message box was active --- tools/ScriptToolGui/MainForm.Designer.cs | 2 +- tools/ScriptToolGui/MainForm.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ScriptToolGui/MainForm.Designer.cs b/tools/ScriptToolGui/MainForm.Designer.cs index b87bf74..71989ba 100644 --- a/tools/ScriptToolGui/MainForm.Designer.cs +++ b/tools/ScriptToolGui/MainForm.Designer.cs @@ -497,7 +497,7 @@ // // writeTimer // - this.writeTimer.Enabled = true; + this.writeTimer.Enabled = false; this.writeTimer.Interval = 10000; this.writeTimer.Tick += new System.EventHandler(this.writeTimer_Tick); // diff --git a/tools/ScriptToolGui/MainForm.cs b/tools/ScriptToolGui/MainForm.cs index dd347bc..9174fcf 100644 --- a/tools/ScriptToolGui/MainForm.cs +++ b/tools/ScriptToolGui/MainForm.cs @@ -107,6 +107,7 @@ namespace ScriptToolGui collectionSelector.SelectedIndex = 0; collectionSelector_SelectionChangeCommitted(null, null); + writeTimer.Enabled = true; Activate(); } catch (Exception ex)