Skip to content

Commit

Permalink
Don't open activity monitor if we can't create subscriptions (fixes #79
Browse files Browse the repository at this point in the history
…) (#80)
  • Loading branch information
tdanner authored Jun 16, 2017
1 parent 4db9037 commit ebe9db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/SwqlStudio/ObjectExplorer/ObjectExplorer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private void RefreshServer(TreeNode node)
private void OpenActivityMonitor(TreeNode node)
{
var provider = node.Tag as IMetadataProvider;
if (provider != null)
if (provider != null && provider.ConnectionInfo.CanCreateSubscription)
ApplicationService.OpenActivityMonitor(provider.ConnectionInfo.Title + " Activity", provider.ConnectionInfo);
}

Expand Down

0 comments on commit ebe9db6

Please sign in to comment.