Skip to content

Commit 18435b9

Browse files
committed
don't include company name on More Details buttons (sometimes doesn't fit)
1 parent 78be5d0 commit 18435b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ExceptionReporter/MVP/Views/ExceptionReportView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ private void PopulateReportInfo(ExceptionReportInfo reportInfo)
8383
Text = reportInfo.TitleText;
8484
txtUserExplanation.Font = new Font(txtUserExplanation.Font.FontFamily, reportInfo.UserExplanationFontSize);
8585
lblContactCompany.Text = string.Format("If this problem persists, please contact {0} support.", reportInfo.CompanyName);
86-
btnSimpleEmail.Text = btnEmail.Text =
86+
btnSimpleEmail.Text =
8787
string.Format("{0} {1}",
8888
reportInfo.SendMethod == ReportSendMethod.WebService ? "Send" : "Email",
8989
reportInfo.SendMethod == ReportSendMethod.WebService && !reportInfo.CompanyName.IsEmpty() ? "to " + reportInfo.CompanyName : reportInfo.CompanyName);
90+
btnEmail.Text = reportInfo.SendMethod == ReportSendMethod.WebService ? "Send" : "Email";
9091
}
9192

9293
private void RemoveEmailButton()

0 commit comments

Comments
 (0)