mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-15 19:05:21 +01:00
Fixes crash in ErrorReportDialog
This commit is contained in:
committed by
Dmitry Vedenko
parent
0ee9cbd83e
commit
b2d9adf6a7
@@ -199,7 +199,8 @@ void ErrorReportDialog::OnSend(wxCommandEvent& event)
|
||||
{
|
||||
Disable();
|
||||
|
||||
mReport->AddUserComment(audacity::ToUTF8(mCommentsControl->GetValue()));
|
||||
if (mCommentsControl != nullptr)
|
||||
mReport->AddUserComment(audacity::ToUTF8(mCommentsControl->GetValue()));
|
||||
|
||||
mReport->Send(
|
||||
[this](int code, std::string body) {
|
||||
|
||||
Reference in New Issue
Block a user