Skip to content

Commit

Permalink
Win: Work around potential clipboard crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyarmstrong authored and lewing committed Jul 3, 2018
1 parent bac4a71 commit 7dfb562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void Update (IEditor editor = null)
helpMenu.Items.Add (new MenuItem {
Header = Catalog.GetString ("Copy Version Information"),
Command = new DelegateCommand (_ =>
Clipboard.SetText (ClientApp.SharedInstance.IssueReport.GetEnvironmentMarkdown ())),
Clipboard.SetDataObject (ClientApp.SharedInstance.IssueReport.GetEnvironmentMarkdown ())),
});

helpMenu.Items.Add (new Separator ());
Expand Down

0 comments on commit 7dfb562

Please sign in to comment.