Skip to content

Commit

Permalink
Alert window now correctly only shows if options checkbox is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anurag D authored and andeart committed Sep 19, 2018
1 parent 977346d commit bc26df4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions JsonButlerIde/JsonButlerIde/JsonButlerIdePackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ public void DoAlert (string alertMessage)
}
}

AlertWindow alertWindow = new AlertWindow ();
alertWindow.ShowDialogWithMessage (alertMessage);
if (_optionPage.ShouldShowConfirmationAlerts)
{
AlertWindow alertWindow = new AlertWindow ();
alertWindow.ShowDialogWithMessage (alertMessage);
}
}

#endregion
Expand Down

0 comments on commit bc26df4

Please sign in to comment.