diff options
author | Alan McGovern <alan.mcgovern@gmail.com> | 2011-08-19 14:50:57 +0400 |
---|---|---|
committer | Alan McGovern <alan.mcgovern@gmail.com> | 2011-08-19 14:54:17 +0400 |
commit | 52bd7d3eddecefbde1ac9ad498a880e90ea5bb50 (patch) | |
tree | fe382cb7439935a0fb1d04de7d697aa534987c19 /main/src | |
parent | e7f283985d798d64ebf28fb899f8dae899e1dfaa (diff) |
[Feedback] Use Author Email as a fallback in case the main one is null
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/FeedbackDialog.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/FeedbackDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/FeedbackDialog.cs index 530d71d43a..4cde149bec 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/FeedbackDialog.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/FeedbackDialog.cs @@ -27,6 +27,7 @@ using System; using MonoDevelop.Core; using System.Net; using System.IO; +using MonoDevelop.Projects; namespace MonoDevelop.Ide.Gui.Dialogs { @@ -110,6 +111,8 @@ namespace MonoDevelop.Ide.Gui.Dialogs bodyWarningLabel.Hide (); string mail = FeedbackService.ReporterEMail; + if (string.IsNullOrEmpty (mail)) + mail = AuthorInformation.Default.Email; if (string.IsNullOrEmpty (mail)) { headerBox.Hide (); |