Skip to content

Commit

Permalink
fixed crash exiting without theme set and bumped version for next rel…
Browse files Browse the repository at this point in the history
…ease.
  • Loading branch information
Nielk1 committed May 21, 2019
1 parent 162e750 commit 80c6fb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VSCView/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected override void OnPaint(PaintEventArgs e)

private void tsmiExit_Click(object sender, EventArgs e)
{
ttimer.Change(Timeout.Infinite, Timeout.Infinite);
ttimer?.Change(Timeout.Infinite, Timeout.Infinite);
this.Close();
}

Expand Down Expand Up @@ -267,7 +267,7 @@ private void tsmiSetBackgroundColor_Click(object sender, EventArgs e)

private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
{
ttimer.Change(Timeout.Infinite, Timeout.Infinite);
ttimer?.Change(Timeout.Infinite, Timeout.Infinite);
}
}

Expand Down
4 changes: 2 additions & 2 deletions VSCView/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.1.6")]
[assembly: AssemblyFileVersion("0.3.1.6")]
[assembly: AssemblyVersion("0.3.1.7")]
[assembly: AssemblyFileVersion("0.3.1.7")]

0 comments on commit 80c6fb8

Please sign in to comment.