Skip to content

Commit

Permalink
File info for export fail message
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Aug 14, 2015
1 parent 14334ad commit 85a1161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BSAManager/BSAManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void BSAManager::bsaTreeOnContextMenu(wxCommandEvent& event)
{
if (wxGetApp().ExportFile(bsaName, filePath, targetFolderStr + "/" + filePath))
{
wxMessageBox("Could not export file.", "Error", wxICON_ERROR);
wxMessageBox(wxString::Format("Could not export file '%s' from '%s'.", filePath, bsaName), "Error", wxICON_ERROR);
break;
}
}
Expand Down Expand Up @@ -346,7 +346,7 @@ void BSAManager::bsaTreeOnContextMenu(wxCommandEvent& event)

if (wxGetApp().ExportFile(bsaName, filePath, targetFileStr))
{
wxMessageBox("Could not export file.", "Error", wxICON_ERROR);
wxMessageBox(wxString::Format("Could not export file '%s' from '%s'.", filePath, bsaName), "Error", wxICON_ERROR);
break;
}
}
Expand Down

0 comments on commit 85a1161

Please sign in to comment.