Fix for banner filename from ID

Saving a banner as a .PNG now properly defaults to the gameID.
This commit is contained in:
Steven Vascellaro 2014-10-06 17:42:24 -04:00
parent 355a2d33aa
commit 63c05c15d5
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ void CISOProperties::OnBannerImageSave(wxCommandEvent& WXUNUSED (event))
{
wxString dirHome;
wxFileDialog dialog(this, _("Save as..."), wxGetHomeDir(&dirHome), wxString::Format("%s.png", m_GameID->GetLabel().c_str()),
wxFileDialog dialog(this, _("Save as..."), wxGetHomeDir(&dirHome), wxString::Format("%s.png", m_GameID->GetValue().c_str()),
wxALL_FILES_PATTERN, wxFD_SAVE|wxFD_OVERWRITE_PROMPT);
if (dialog.ShowModal() == wxID_OK)
{