Skip to content

Commit

Permalink
Hide "Notification Listener Active" menu if we are using active subsc…
Browse files Browse the repository at this point in the history
…riber instead
  • Loading branch information
tdanner committed Mar 7, 2017
1 parent 03ea0ec commit 2864010
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 201 deletions.
13 changes: 6 additions & 7 deletions Src/SwqlStudio/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Src/SwqlStudio/MainForm.cs
Expand Up @@ -552,6 +552,10 @@ private void byHierarchyToolStripMenuItem_Click(object sender, EventArgs e)

private void fileToolStripMenuItem_DropDownOpening(object sender, EventArgs e)
{
menuNotificationListenerActive.Visible =
separatorAboveNotificationListenerActive.Visible =
!Settings.Default.UseActiveSubscriber;

menuNotificationListenerActive.CheckState = SubscriptionManager.IsListening()
? CheckState.Checked
: CheckState.Unchecked;
Expand Down

0 comments on commit 2864010

Please sign in to comment.