Timer is disabled by default

Fixes an issue where it would try to write while a message box was active
This commit is contained in:
jeffman 2019-01-08 20:51:40 -05:00
parent 383772f118
commit 3f341c7e21
2 changed files with 2 additions and 1 deletions

View File

@ -497,7 +497,7 @@
// //
// writeTimer // writeTimer
// //
this.writeTimer.Enabled = true; this.writeTimer.Enabled = false;
this.writeTimer.Interval = 10000; this.writeTimer.Interval = 10000;
this.writeTimer.Tick += new System.EventHandler(this.writeTimer_Tick); this.writeTimer.Tick += new System.EventHandler(this.writeTimer_Tick);
// //

View File

@ -107,6 +107,7 @@ namespace ScriptToolGui
collectionSelector.SelectedIndex = 0; collectionSelector.SelectedIndex = 0;
collectionSelector_SelectionChangeCommitted(null, null); collectionSelector_SelectionChangeCommitted(null, null);
writeTimer.Enabled = true;
Activate(); Activate();
} }
catch (Exception ex) catch (Exception ex)