diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 90fa48abb1..0835f9044b 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -160,7 +160,9 @@ void DMainWindow::DoStartPause() void DMainWindow::OnOpen() { - StartGame(ShowFileDialog()); + QString filename = ShowFileDialog(); + if (!filename.isNull()) + StartGame(filename); } void DMainWindow::OnPlay()