Skip to content

Commit

Permalink
No message box when loading and "no telemetry" configured.
Browse files Browse the repository at this point in the history
Fixes #1135
  • Loading branch information
phw198 committed Dec 20, 2020
1 parent dd9608c commit 1e3be12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OutlookGoogleCalendarSync/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,8 @@ private void cbCloudLogging_CheckStateChanged(object sender, EventArgs e) {
}

private void cbTelemetryDisabled_CheckedChanged(object sender, EventArgs e) {
if (!this.Visible) return;

if (!cbTelemetryDisabled.Checked) {
Settings.Instance.TelemetryDisabled = cbTelemetryDisabled.Checked;
return;
Expand Down

0 comments on commit 1e3be12

Please sign in to comment.