From cb7c45c978ca8d49efdf005a5131bcd56d0baae8 Mon Sep 17 00:00:00 2001 From: Gabriel Pedro Date: Wed, 29 Apr 2020 17:41:42 -0400 Subject: [PATCH] fix: minimap export crash (#304) --- source/common_windows.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/common_windows.cpp b/source/common_windows.cpp index 214afc23..04e69de8 100644 --- a/source/common_windows.cpp +++ b/source/common_windows.cpp @@ -520,7 +520,6 @@ void ExportMiniMapWindow::OnClickBrowse(wxCommandEvent& WXUNUSED(event)) const wxString& directory = dialog.GetPath(); directory_text_field->ChangeValue(directory); } - dialog.Destroy(); CheckValues(); }