mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Return early from DoOpen if the user cancelled the file picker box
Fixes issue 5551
This commit is contained in:
parent
80bf3c2c0b
commit
b3c9f437db
@ -669,6 +669,9 @@ void CFrame::DoOpen(bool Boot)
|
||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST,
|
||||
this);
|
||||
|
||||
if (path.empty())
|
||||
return;
|
||||
|
||||
std::string currentDir2 = File::GetCurrentDir();
|
||||
|
||||
if (currentDir != currentDir2)
|
||||
|
Loading…
Reference in New Issue
Block a user