Commit f467074c authored by jerryjacobs's avatar jerryjacobs

Forget to clean string after display of messagebox

parent d1e44864
...@@ -147,6 +147,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames, ...@@ -147,6 +147,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString message = _("The following mdc files could not be found:\n\n"); wxString message = _("The following mdc files could not be found:\n\n");
message += mdc_files_not_found; message += mdc_files_not_found;
wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR ); wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR );
mdc_files_not_found = wxT("");
} }
/* Display if there are mdc files invalid */ /* Display if there are mdc files invalid */
...@@ -155,6 +156,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames, ...@@ -155,6 +156,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString message = _("The following mdc files are invalid:\n\n"); wxString message = _("The following mdc files are invalid:\n\n");
message += mdc_files_invalid; message += mdc_files_invalid;
wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR ); wxMessageBox( message, _("Load error!"), wxOK | wxICON_ERROR );
mdc_files_invalid = wxT("");
} }
list.sort(); list.sort();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment