Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Real fix for memcard manager.
  • Loading branch information
RachelBryk committed Jan 13, 2013
1 parent 6f391a2 commit 429324a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Core/DolphinWX/Src/MemcardManager.cpp
Expand Up @@ -252,7 +252,6 @@ void CMemcardManager::CreateGUIControls()

SetSizerAndFit(sMain);
Center();
SetFocus();

for (int i = SLOT_A; i <= SLOT_B; i++)
{
Expand Down Expand Up @@ -525,13 +524,13 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
_("Native GCI files(*.gci)") + wxString(wxT("|*.gci|")) +
_("MadCatz Gameshark files(*.gcs)") + wxString(wxT("|*.gcs|")) +
_("Datel MaxDrive/Pro files(*.sav)") + wxString(wxT("|*.sav")),
wxFD_OPEN | wxFD_FILE_MUST_EXIST);
wxFD_OPEN | wxFD_FILE_MUST_EXIST, this);
if (!fileName.empty() && !fileName2.empty())
{
wxString temp2 = wxFileSelector(_("Save GCI as..."),
wxEmptyString, wxEmptyString, wxT(".gci"),
_("GCI File(*.gci)") + wxString(_T("|*.gci")),
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
wxFD_OVERWRITE_PROMPT|wxFD_SAVE, this);
if (temp2.empty()) break;
fileName2 = temp2.mb_str();
}
Expand Down Expand Up @@ -561,7 +560,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
_("Native GCI files(*.gci)") + wxString(wxT("|*.gci|")) +
_("MadCatz Gameshark files(*.gcs)") + wxString(wxT("|*.gcs|")) +
_("Datel MaxDrive/Pro files(*.sav)") + wxString(wxT("|*.sav")),
wxFD_OVERWRITE_PROMPT|wxFD_SAVE);
wxFD_OVERWRITE_PROMPT|wxFD_SAVE, this);

if (fileName.length() > 0)
{
Expand Down

0 comments on commit 429324a

Please sign in to comment.