Fix of New assertion failure with 2.0.0rc #2250

Calls to Dialog::Close() after Dialog::EndModal() were removed.
This commit is contained in:
bubnikv 2019-05-16 16:06:57 +02:00
parent df19314645
commit 57a7425b0f
6 changed files with 1 additions and 9 deletions

View file

@ -159,13 +159,11 @@ void ConfigSnapshotDialog::onLinkClicked(wxHtmlLinkEvent &event)
{
m_snapshot_to_activate = event.GetLinkInfo().GetHref();
this->EndModal(wxID_CLOSE);
this->Close();
}
void ConfigSnapshotDialog::onCloseDialog(wxEvent &)
{
this->EndModal(wxID_CLOSE);
this->Close();
}
} // namespace GUI