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:
parent
383772f118
commit
3f341c7e21
|
@ -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);
|
||||||
//
|
//
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue