Permalink
Browse files

Merge pull request #7114 from Techjar/patch-3

Qt/GameCubePane: Fix memcard browsing starting in working directory instead of User/GC/ directory
  • Loading branch information...
spycrab committed Jun 14, 2018
2 parents 1f49a9c + 027fc6e commit e69c6cdaab8b4280b499c886e815e919f4999902
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/DolphinQt2/Settings/GameCubePane.cpp
@@ -168,7 +168,8 @@ void GameCubePane::OnConfigPressed(int slot)
}
QString filename =
QFileDialog::getOpenFileName(this, tr("Choose a file to open"), QStringLiteral(""), filter);
QFileDialog::getOpenFileName(this, tr("Choose a file to open"),
QString::fromStdString(File::GetUserPath(D_GCUSER_IDX)), filter);
if (filename.isEmpty() || !File::Exists(filename.toStdString()))
return;

0 comments on commit e69c6cd

Please sign in to comment.